/* ================================
   НОРМАЛЬНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ
   Основана на десктопной версии
   ================================ */

/* Анимация переливающегося градиента для заголовка */
@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Анимация для градиента навигации */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Мобильная адаптация для экранов до 768px */
@media (max-width: 768px),
(orientation: landscape) and (max-height: 520px) {
    
    /* ===== УБИРАЕМ ВСЕ ПРИНУДИТЕЛЬНЫЕ ОТСТУПЫ ===== */
    
    /* Общий фон для всего сайта */
    body,
    html {
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* ===== НАВИГАЦИЯ ===== */
    nav.navigation,
    .navigation,
    header .navigation,
    body .navigation {
        position: relative !important;
        background: linear-gradient(135deg, #1a1a1a 0%, #1a1a24 50%, #1a1a1a 100%) !important;
        /* Очень мягкий градиент, близкий к фону сайта */
        background-image: none !important;
        padding: 10px 10px !important; /* УВЕЛИЧЕНО вертикальный padding для размещения 3-го ряда */
        border-bottom: none !important;
        backdrop-filter: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important; /* Ограничиваем ширину */
        z-index: 1 !important;
        transform: none !important;
        opacity: 1 !important;
        min-height: auto !important; /* Убираем ограничение высоты */
        max-height: none !important; /* УБИРАЕМ ограничение max-height для расширения по высоте */
        height: auto !important; /* Автоматическая высота */
        overflow-x: hidden !important; /* Предотвращаем горизонтальный выход */
        overflow-y: visible !important; /* Разрешаем вертикальное расширение */
        box-sizing: border-box !important; /* Правильный расчет размеров */
    }
    
    .navigation .nav-container,
    .nav-container,
    nav .nav-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important; /* Ограничиваем ширину */
        padding: 0 !important;
        background: transparent !important;
        background-image: none !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        position: relative !important;
        z-index: 2 !important;
        min-height: auto !important; /* Убираем ограничение высоты */
        max-height: none !important; /* УБИРАЕМ ограничение max-height для расширения по высоте */
        height: auto !important; /* Автоматическая высота */
        overflow-x: hidden !important; /* Предотвращаем горизонтальный выход */
        overflow-y: visible !important; /* Разрешаем вертикальное расширение */
        box-sizing: border-box !important; /* Правильный расчет размеров */
    }
    
    .nav-menu {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important; /* Уменьшенное расстояние, когда фото скрыто */
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
        max-width: 100% !important; /* Ограничиваем ширину контейнера */
        position: relative !important;
        z-index: 3 !important;
        min-height: auto !important; /* Убираем ограничение высоты */
        max-height: none !important; /* УБИРАЕМ ограничение max-height для расширения по высоте */
        height: auto !important; /* Автоматическая высота */
        overflow-x: hidden !important; /* Предотвращаем горизонтальный выход */
        overflow-y: visible !important; /* Разрешаем вертикальное расширение */
        box-sizing: border-box !important; /* Правильный расчет размеров */
    }
    
    .nav-menu li {
        margin: 0 !important;
        flex: none !important;
    }
    
    /* Обычные кнопки навигации */
    .nav-menu .nav-link:not(.call-btn) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        color: var(--white) !important;
        text-decoration: none !important;
        background: linear-gradient(135deg, #4169e1, #6495ed) !important;
        border: 1px solid rgba(65, 105, 225, 0.6) !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
        text-align: center !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 8px rgba(65, 105, 225, 0.2) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        margin: 2px !important;
        min-width: 70px !important;
        height: 28px !important;
        max-height: 28px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }
    
    .nav-menu .nav-link:not(.call-btn):hover {
        background: linear-gradient(135deg, #6495ed, #87ceeb) !important;
        border: 2px solid rgba(100, 149, 237, 0.8) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(100, 149, 237, 0.3) !important;
    }
    
    /* Кнопка "Заказать звонок" - точно такая же высота как остальные */
    .nav-menu .nav-link.call-btn,
    .navigation .nav-menu .nav-link.call-btn,
    nav .nav-menu .nav-link.call-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        color: #333 !important;
        text-decoration: none !important;
        background: linear-gradient(135deg, #90ee90, #98fb98) !important;
        border: 1px solid #90ee90 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
        text-align: center !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 8px rgba(144, 238, 144, 0.3) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        margin: 2px !important;
        min-width: 140px !important;
        height: 28px !important;
        max-height: 28px !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
        /* УБРАН aspect-ratio для предотвращения искажений */
        flex-shrink: 0 !important;
    }
    
    .nav-menu .nav-link.call-btn:hover,
    .navigation .nav-menu .nav-link.call-btn:hover,
    nav .nav-menu .nav-link.call-btn:hover {
        background: linear-gradient(135deg, #98fb98, #90ee90) !important;
        border: 2px solid #98fb98 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(144, 238, 144, 0.4) !important;
    }

    /* Перевёрнутые телефоны: уплотняем навигацию */
    /* Удалено — финальный блок вынесен в конец файла */
    
    /* Скрываем кнопку переключения навигации */
    .nav-toggle-btn {
        display: none !important;
    }
    
    /* Скрываем мобильное меню */
    .mobile-menu-btn {
        display: none !important;
    }
    
    
    /* ===== ГЛАВНЫЙ БЛОК ===== */
    /* ПРИНУДИТЕЛЬНО УБИРАЕМ ВСЕ ОГРАНИЧЕНИЯ ШИРИНЫ - ТЁМНЫЙ ФОН */
    .hero-section,
    html body .hero-section,
    body .hero-section,
    section.hero-section {
        padding: 10px 5px !important;
        min-height: 100vh !important;
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* ПРИНУДИТЕЛЬНО ПЕРЕОПРЕДЕЛЯЕМ .container ДЛЯ HERO-SECTION */
    .hero-section .container,
    html body .hero-section .container,
    body .hero-section .container,
    section.hero-section .container,
    .hero-section>.container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* ПРИНУДИТЕЛЬНО ПЕРЕОПРЕДЕЛЯЕМ ОБЩИЙ .container */
    @media (max-width: 768px),
    (orientation: landscape) and (max-height: 520px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
            padding: 0 5px !important;
            margin: 0 !important;
        box-sizing: border-box !important;
        }
    }
    
    /* Логотип */
    .main-logo-section {
        text-align: center !important;
        margin-bottom: 20px !important;
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .main-logo h1 {
        font-size: 2.5rem !important;
        color: #ffffff !important;
        margin: 0 !important;
        font-weight: 700 !important;
    }
    
    /* ПРИНУДИТЕЛЬНО ПЕРЕОПРЕДЕЛЯЕМ hero-content-card - УБИРАЕМ ВСЕ ОГРАНИЧЕНИЯ */
    .hero-section .hero-content-card,
    html body .hero-section .hero-content-card,
    body .hero-section .hero-content-card,
    section.hero-section .hero-content-card,
    .hero-section>.container>.hero-content-card,
    #hero .hero-content-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        gap: 30px !important;
        background: #1a1a1a !important;
        border-radius: 20px !important;
        box-shadow: var(--shadow-xl) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        min-height: auto !important;
        grid-template-columns: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-content-card * {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Центрирование заголовка hero - приоритет над общим правилом */
    .hero-content-card .hero-title,
    .hero-content-card .hero-text-content .hero-title,
    .hero-title {
        text-align: center !important;
    }
    
    .hero-content-card .hero-title .highlight-text,
    .hero-title .highlight-text {
        text-align: center !important;
    }
    
    /* Текстовая секция - ПРИНУДИТЕЛЬНО НА ВСЮ ШИРИНУ, ПРОЗРАЧНЫЙ ФОН */
    .text-section,
    html body .text-section,
    body .text-section,
    .hero-content-card .text-section {
        order: 1 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ПЕРЕОПРЕДЕЛЕНИЕ для landscape - поднимаем текст выше */
    @media (orientation: landscape) and (max-height: 520px) {
        html body .hero-section .text-section,
        body .hero-section .text-section,
        .hero-section .text-section,
        html body .hero-content-card .text-section,
        body .hero-content-card .text-section,
        .hero-content-card .text-section {
            margin-top: -20px !important;
            margin-bottom: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
    }
    
    .hero-text-content,
    html body .hero-text-content,
    body .hero-text-content,
    .text-section .hero-text-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-text-content * {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Заголовок */
    .hero-text-content .hero-title,
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-top: 0 !important;
        margin-bottom: 30px !important;
        text-align: center !important;
        width: 100% !important;
        color: #f8fafc !important;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
        white-space: normal !important;
    }
    
    .hero-title .highlight-text {
        color: #f8fafc !important;
        display: inline !important;
        /* Изменено с block на inline чтобы текст был в одну строку */
        word-spacing: normal !important;
        letter-spacing: normal !important;
        white-space: normal !important;
        text-align: center !important;
    }
    
    /* О компании - ПРИНУДИТЕЛЬНО НА ВСЮ ШИРИНУ */
    .about-company,
    html body .about-company,
    body .about-company,
    .hero-text-content .about-company {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .gradient-title,
    html body .gradient-title,
    body .gradient-title,
    .about-company .gradient-title {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
        color: #191970 !important;
        /* Fallback цвет для браузеров без поддержки градиентов */
        background: linear-gradient(45deg, #0066ff, #4169e1, #00bfff, #1e90ff, #0066ff) !important;
        background-size: 400% 400% !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        animation: gradientText 3s ease-in-out infinite !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 4px rgba(0, 102, 255, 0.2) !important;
        filter: contrast(1.2) brightness(1.1) !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .description-text,
    html body .description-text,
    body .description-text,
    .about-company .description-text {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin: 0 0 15px 0 !important;
        color: #cbd5e1 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .description-text p {
        text-align: left !important;
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Перемещаем изображение в текстовый блок только на мобильных */
    .hero-text-content .about-company::after,
    .about-company::after {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        /* Делаем изображение квадратным */
        background-image: var(--hero-image-url) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
        margin: 40px auto 25px auto !important;
        /* Увеличенный отступ сверху, стандартный снизу */
    }

    /* В перевёрнутом режиме уменьшение псевдо-изображения */
    @media (orientation: landscape) and (max-height: 520px) {

        /* Заголовок влево при landscape - ПОДНЯТ ВВЕРХ на уровень с иконками */
        .hero-title,
        .hero-title .highlight-text,
        .hero-content-card .hero-title,
        .hero-text-content .hero-title {
            text-align: left !important;
            margin-bottom: 0 !important;
            margin-top: -20px !important;
            padding-right: 0 !important;
            padding-top: 0 !important;
        }
        
        /* Поднимаем hero-text-content */
        html body .hero-section .hero-text-content,
        body .hero-section .hero-text-content,
        .hero-section .hero-text-content,
        html body .hero-content-card .hero-text-content,
        body .hero-content-card .hero-text-content,
        .hero-content-card .hero-text-content {
            margin-top: -20px !important;
        }
        
        /* Показываем иконки в landscape-social-links рядом с заголовком */
        .landscape-social-links {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            gap: 12px !important;
            flex-shrink: 0 !important;
            align-items: center !important;
        }
        
        /* ПЕРЕОПРЕДЕЛЯЕМ inline style display: none для landscape */
        html body .hero-text-content .landscape-social-links[style*="display: none"],
        body .hero-text-content .landscape-social-links[style*="display: none"],
        .hero-text-content .landscape-social-links[style*="display: none"],
        .landscape-social-links[style*="display: none"] {
            display: flex !important;
        }
        
        /* Flex-контейнер для заголовка и иконок - выравнивание по центру */
        .hero-text-content > div[style*="display: flex"] {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }
        
        /* Заголовок в flex-контейнере - выравнивание по центру */
        .hero-text-content .hero-title {
            margin: 0 !important;
            padding: 0 !important;
            display: flex !important;
            align-items: center !important;
            line-height: 1.2 !important;
        }
        
        /* Скрываем иконки из image-section в landscape */
        .image-section .social-links {
            display: none !important;
        }

        /* КРИТИЧЕСКИ ВАЖНО: Иконки соцсетей на одном уровне с заголовком */
        .hero-section .social-links,
        .hero-content-card .social-links,
        .text-section .social-links,
        html body .hero-section .social-links,
        body .hero-section .social-links,
        html body .text-section .social-links,
        body .text-section .social-links {
            position: static !important;
            left: auto !important;
            right: auto !important;
            top: auto !important;
            margin-top: 0 !important;
            margin-bottom: 20px !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            justify-content: flex-start !important;
            width: 100% !important;
            clear: both !important;
        }
        
        /* Убеждаемся, что иконки соц сетей всегда видны */
        .landscape-social-links .social-btn,
        .landscape-social-links a,
        html body .landscape-social-links .social-btn,
        html body .landscape-social-links a {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            width: 48px !important;
            height: 48px !important;
        }

        .hero-text-content .about-company::after,
        .about-company::after {
            width: min(90vw, 320px) !important;
            aspect-ratio: 1 / 1 !important;
            margin: 30px auto 20px auto !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
        }
    }
    
    /* Скрываем оригинальное изображение на мобильных */
    .image-section .integrated-printer-block {
        display: none !important;
    }
    
    /* CTA секция */
    .cta-section {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        /* Центрируем кнопку и текст */
        text-align: center !important;
    }
    
    .cta-button {
        display: block !important;
        /* Изменено на block */
        width: 100% !important;
        /* Растягиваем на всю ширину */
        max-width: 350px !important;
        /* Увеличиваем максимальную ширину */
        margin: 10px auto !important;
        /* Центрируем кнопку */
        padding: 15px 10px !important;
        font-size: 1rem !important;
        background: linear-gradient(135deg, #90ee90, #98fb98) !important;
        color: #333 !important;
        border: 2px solid #90ee90 !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
        box-shadow: var(--shadow-lg) !important;
        transition: var(--transition) !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .cta-button span,
    .cta-button i {
        display: inline-block !important;
        /* Чтобы элементы были в строке */
        vertical-align: middle !important;
    }
    
    /* ОТКЛЮЧЕНО: смена цвета при hover - кнопка должна оставаться зеленой */
    .cta-button:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 15px 40px rgba(144, 238, 144, 0.6) !important;
        background: linear-gradient(135deg, #90ee90, #98fb98) !important;
        border-color: #90ee90 !important;
    }
    
    .disclaimer-text {
        font-size: 0.85rem !important;
        color: var(--gray-500) !important;
        margin-top: 15px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 350px !important;
        /* Такая же ширина как у кнопки */
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Иконки соц сетей в cta-section под кнопкой - ВСЕГДА ВИДИМЫ */
    .cta-section .social-links,
    .cta-section .mobile-social-links,
    html body .cta-section .social-links,
    html body .cta-section .mobile-social-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 40px !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    
    /* Кнопки соц сетей в cta-section */
    .cta-section .social-links .social-btn,
    .cta-section .social-links a,
    .cta-section .mobile-social-links .social-btn,
    .cta-section .mobile-social-links a,
    html body .cta-section .social-links .social-btn,
    html body .cta-section .social-links a,
    html body .cta-section .mobile-social-links .social-btn,
    html body .cta-section .mobile-social-links a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }
    
    /* Секция изображения */
    .image-section {
        order: 2 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* КРИТИЧЕСКИ ВАЖНО: Иконки соц сетей ВСЕГДА ВИДИМЫ на мобильных */
    .image-section .social-links,
    .hero-section .social-links,
    .hero-content-card .social-links,
    html body .image-section .social-links,
    html body .hero-section .social-links,
    body .image-section .social-links,
    body .hero-section .social-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
        clear: both !important;
    }
    
    /* Кнопки соц сетей всегда видны - МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ */
    .image-section .social-links .social-btn,
    .image-section .social-links a,
    .hero-section .social-links .social-btn,
    .hero-section .social-links a,
    html body .image-section .social-links .social-btn,
    html body .image-section .social-links a,
    html body .hero-section .social-links .social-btn,
    html body .hero-section .social-links a,
    html body .hero-content-card .image-section .social-links .social-btn,
    html body .hero-content-card .image-section .social-links a,
    html body div.image-section .social-links .social-btn,
    html body div.image-section .social-links a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

    .image-section .integrated-printer-block,
    .integrated-printer-block {
        width: min(70vw, 260px) !important;
        max-height: 200px !important;
        margin: 0 auto !important;
        align-self: center !important;
    }

    .integrated-printer-image {
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Дополнительно уменьшаем фото только на перевёрнутых телефонах */
    @media (orientation: landscape) and (max-height: 520px) {

        .image-section .integrated-printer-block,
        .integrated-printer-block {
            width: min(18vw, 80px) !important;
            max-height: 60px !important;
            min-height: 50px !important;
        }

        .integrated-printer-image {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
        }
    }
    
    /* Социальные ссылки - КРИТИЧЕСКИ ВАЖНО: ВСЕГДА ВИДИМЫ */
    .social-links,
    .hero-section .social-links,
    .hero-content-card .social-links,
    .image-section .social-links,
    .text-section .social-links,
    html body .hero-section .social-links,
    body .hero-section .social-links,
    html body .image-section .social-links,
    body .image-section .social-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        margin-top: 20px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        clear: both !important;
    }
    
    /* Убеждаемся, что кнопки соц сетей всегда видны */
    .social-links .social-btn,
    .social-links a,
    .image-section .social-links .social-btn,
    .image-section .social-links a,
    .hero-section .social-links .social-btn,
    .hero-section .social-links a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Прозрачные иконки hero-блока */
    .hero-section .social-links .social-btn.telegram,
    .hero-section .social-links .social-btn.vk,
    .hero-section .social-links .social-btn.youtube,
    .hero-section .social-links a[href*="t.me"],
    .hero-section .social-links a[href*="vk.com"],
    .hero-section .social-links a[href*="youtube.com"] {
        background: rgba(255, 255, 255, 0.18) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        box-shadow: none !important;
        backdrop-filter: blur(12px) !important;
    }

    .hero-section .social-links .social-btn.telegram:hover,
    .hero-section .social-links .social-btn.vk:hover,
    .hero-section .social-links .social-btn.youtube:hover,
    .hero-section .social-links a[href*="t.me"]:hover,
    .hero-section .social-links a[href*="vk.com"]:hover,
    .hero-section .social-links a[href*="youtube.com"]:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: none !important;
    }

    /* Telegram */
    .social-links .social-btn.telegram,
    .social-links a[href*="t.me"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50px !important;
        height: 50px !important;
        background: #0088cc !important;
        border-radius: 12px !important;
        border: none !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3) !important;
    }
    
    .social-links .social-btn.telegram:hover,
    .social-links a[href*="t.me"]:hover {
        background: #0077b5 !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 16px rgba(0, 136, 204, 0.5) !important;
    }
    
    .social-links .social-btn.telegram i,
    .social-links a[href*="t.me"] i {
        font-size: 1.4rem !important;
        color: #ffffff !important;
    }
    
    /* VK */
    .social-links .social-btn.vk,
    .social-links a[href*="vk.com"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50px !important;
        height: 50px !important;
        background: #4680c2 !important;
        border-radius: 12px !important;
        border: none !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(70, 128, 194, 0.3) !important;
    }
    
    .social-links .social-btn.vk:hover,
    .social-links a[href*="vk.com"]:hover {
        background: #3a6ca8 !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 16px rgba(70, 128, 194, 0.5) !important;
    }
    
    .social-links .social-btn.vk i,
    .social-links a[href*="vk.com"] i {
        font-size: 1.4rem !important;
        color: #ffffff !important;
    }
    
    /* YouTube */
    .social-links .social-btn.youtube,
    .social-links a[href*="youtube.com"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50px !important;
        height: 50px !important;
        background: #ff0000 !important;
        border-radius: 12px !important;
        border: none !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3) !important;
    }
    
    .social-links .social-btn.youtube:hover,
    .social-links a[href*="youtube.com"]:hover {
        background: #cc0000 !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 16px rgba(255, 0, 0, 0.5) !important;
    }
    
    .social-links .social-btn.youtube i,
    .social-links a[href*="youtube.com"] i {
        font-size: 1.4rem !important;
        color: #ffffff !important;
    }
    
    /* Интегрированное изображение принтера */
    .integrated-printer-block {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .integrated-printer-image {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        object-fit: cover !important;
        background: transparent !important;
        border: none !important;
    }
}

/* Адаптация для маленьких экранов */
@media (max-width: 576px) {
    .hero-section {
        padding: 15px 10px !important;
    }
    
    .hero-content-card {
        padding: 25px 20px !important;
        gap: 25px !important;
        border-radius: 15px !important;
    }
    
    .main-logo h1 {
        font-size: 2rem !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .gradient-title {
        font-size: 1.2rem !important;
        margin-bottom: 18px !important;
        text-align: left !important;
    }
    
    .description-text {
        font-size: 0.95rem !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }
    
    .cta-button {
        font-size: 0.9rem !important;
        padding: 12px 10px !important;
        min-width: 180px !important;
    }
    
    .integrated-printer-image {
        max-width: 250px !important;
    }
    
    .social-links .social-btn,
    .social-links a[href*="t.me"],
    .social-links a[href*="vk.com"],
    .social-links a[href*="youtube.com"] {
        width: 48px !important;
        height: 48px !important;
    }
    
    .social-links .social-btn i,
    .social-links a[href*="t.me"] i,
    .social-links a[href*="vk.com"] i,
    .social-links a[href*="youtube.com"] i {
        font-size: 1.3rem !important;
    }
    
    .nav-menu .nav-link {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
    
    /* Кнопка "Заказать звонок" на средних экранах */
    .nav-menu .nav-link.call-btn {
        padding: 6px 12px !important;
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .hero-section {
        padding: 15px 10px !important;
    }
    
    .hero-content-card {
        padding: 25px 18px !important;
        gap: 20px !important;
        border-radius: 12px !important;
    }
    
    .main-logo h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .gradient-title {
        font-size: 1.15rem !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }
    
    .description-text {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
        text-align: left !important;
    }
    
    .cta-button {
        font-size: 0.85rem !important;
        padding: 10px 10px !important;
        min-width: 160px !important;
    }
    
    .integrated-printer-image {
        max-width: 220px !important;
    }
    
    .social-links {
        gap: 12px !important;
    }
    
    .social-links .social-btn,
    .social-links a[href*="t.me"],
    .social-links a[href*="vk.com"],
    .social-links a[href*="youtube.com"] {
        width: 45px !important;
        height: 45px !important;
    }
    
    .social-links .social-btn i,
    .social-links a[href*="t.me"] i,
    .social-links a[href*="vk.com"] i,
    .social-links a[href*="youtube.com"] i {
        font-size: 1.25rem !important;
    }
    
    .nav-menu {
        gap: 6px !important;
    }
    
    .nav-menu .nav-link {
        font-size: 0.75rem !important;
        padding: 5px 8px !important;
    }
    
    /* Кнопка "Заказать звонок" на очень маленьких экранах */
    .nav-menu .nav-link.call-btn {
        padding: 5px 8px !important;
    }
}

/* ===== БЛОК ПРЕИМУЩЕСТВ ===== */
@media (max-width: 768px),
(orientation: landscape) and (max-height: 520px) {
    .about-section {
        background: var(--gray-900) !important;
        padding: 25px 10px !important;
        margin: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .about-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .section-header {
        text-align: center !important;
        margin-bottom: 18px !important;
        padding: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .projects-section .section-header,
    .projects-section .container .section-header,
    .projects-section .section-header .section-title {
        margin-bottom: 0 !important;
        margin-top: -20px !important;
    }
    
    .projects-section .section-header .section-title {
        margin-top: 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        color: var(--white) !important;
        margin: 0 !important;
        padding: 15px 10px !important;
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
        border-radius: 12px !important;
        text-align: center !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        width: fit-content !important;
        display: block !important;
    }
    
    .advantages-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .advantage-card {
        background: #ffffff !important;
        border-radius: 15px !important;
        padding: 18px 10px !important;
        margin: 0 !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        text-align: center !important;
        border: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .advantage-card .text-content {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .advantage-icon {
        margin: 0 auto 10px auto !important;
        width: 60px !important;
        height: 60px !important;
        background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue)) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .advantage-icon i {
        font-size: 24px !important;
        color: white !important;
    }
    
    /* Принудительное изменение цвета символов в иконках */
    .advantage-card .advantage-icon i,
    .modern-card .advantage-icon i,
    .advantage-card .modern-icon i,
    .modern-card .modern-icon i {
        color: white !important;
    }
    
    .advantage-card .advantage-icon .fas,
    .modern-card .advantage-icon .fas,
    .advantage-card .modern-icon .fas,
    .modern-card .modern-icon .fas {
        color: white !important;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem !important;
        color: #1e293b !important;
        margin: 0 0 10px 0 !important;
        font-weight: 600 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .advantage-card p {
        font-size: 0.9rem !important;
        color: #64748b !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* ===== ЗАГОЛОВКИ ВСЕХ БЛОКОВ ===== */
    .section-title {
        font-size: 1.8rem !important;
        font-weight: 800 !important;
        color: white !important;
        margin: 0 auto 30px auto !important;
        background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue)) !important;
        padding: 16px 28px !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 25px rgba(25, 25, 112, 0.3) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(15px) !important;
        text-align: center !important;
        width: fit-content !important;
        display: block !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .projects-section .section-title {
        margin: 0 !important;
    }
    
    .section-title::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
        transition: left 0.6s ease !important;
    }
    
    .section-title:hover::before {
        left: 100% !important;
    }
    
    .section-title:hover {
        background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue)) !important;
        color: white !important;
        transform: translateY(-8px) scale(1.05) !important;
        box-shadow: 0 15px 40px rgba(25, 25, 112, 0.5) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
    }
    
    /* ===== БЛОК ПРОЦЕССА РАБОТЫ ===== */
    .process-section {
        background: var(--gray-900) !important;
        padding: 40px 10px !important;
        margin: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .process-header {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    
    .process-icon {
        width: 80px !important;
        height: 80px !important;
        background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue)) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 20px auto !important;
    }
    
    .process-icon i {
        font-size: 32px !important;
        color: white !important;
    }
    
    /* Заголовок "Получение результата" в одну строчку - специальный класс */
    .single-line-title {
        white-space: nowrap !important;
        text-align: center !important;
        margin: 0 auto !important;
        font-size: 1rem !important;
        line-height: 1.2 !important;
        display: block !important;
        width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Полное соответствие десктопному блоку "Как мы работаем" */
    .workflow-section {
        padding: 25px 10px !important;
    }
    
    .workflow-section .workflow-steps-new,
    .workflow-section .container .workflow-steps-new,
    .workflow-steps-new {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        row-gap: 0 !important;
        column-gap: 0 !important;
        justify-items: center !important;
        margin-bottom: 30px !important;
    }
    
    .workflow-step-new {
        margin-bottom: 18px !important;
    }
    
    .workflow-step-new:first-child {
        margin-bottom: 0 !important;
    }
    
    .workflow-step-new:last-child {
        margin-bottom: 0 !important;
    }
    
    .workflow-step-new {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .workflow-step-new .step-content-new {
        width: min(320px, 92%) !important;
        margin: 14px auto 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .workflow-step-new .step-content-new h3 {
        margin: 0 auto 10px auto !important;
        text-align: center !important;
        font-size: 20px !important;
        line-height: 1.4 !important;
        color: #ffffff !important;
        white-space: normal !important;
    }
    
    .workflow-step-new .step-content-new p {
        margin: 0 auto !important;
        text-align: justify !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        color: #ffffff !important;
    }
}

/* ПРИНУДИТЕЛЬНЫЕ СТИЛИ С МАКСИМАЛЬНОЙ СПЕЦИФИЧНОСТЬЮ */
@media (max-width: 768px),
(orientation: landscape) and (max-height: 520px) {

    .workflow-section .workflow-steps-new,
    .workflow-section .container .workflow-steps-new,
    .workflow-steps-new {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        row-gap: 0 !important;
        column-gap: 0 !important;
        margin-bottom: 30px !important;
    }
    
    .workflow-step-new {
        margin-bottom: 18px !important;
    }
    
    .workflow-step-new:first-child {
        margin-bottom: 0 !important;
    }
    
    .workflow-step-new:last-child {
        margin-bottom: 0 !important;
    }
    
    .workflow-steps-new .workflow-step-new .step-content-new {
        width: min(320px, 94%) !important;
        margin: 14px auto 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .workflow-steps-new .workflow-step-new .step-content-new h3 {
        font-size: 20px !important;
        line-height: 1.4 !important;
        color: #ffffff !important;
        margin-bottom: 10px !important;
    }
    
    .workflow-steps-new .workflow-step-new .step-content-new p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        color: #ffffff !important;
    }
}
    
    
    .process-info {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .process-info h3 {
        font-size: 1.8rem !important;
        color: white !important;
        margin: 0 0 15px 0 !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    
    .process-info p {
        font-size: 1rem !important;
        color: #e2e8f0 !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    /* ===== ФУТЕР ===== */
    .footer {
        background: white !important;
        padding: 20px 10px 30px 10px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .footer .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .footer-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        flex-direction: row !important;
    }
    
    .footer-logo {
        display: none !important;
    }
    
    .footer-info {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    /* Скрываем блок с реквизитами (второй footer-section) */
    .footer-info .footer-section:nth-child(2) {
        display: none !important;
    }
    
    .footer-section {
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer-section h3 {
        font-size: 1.2rem !important;
        color: var(--gray-900) !important;
        margin-bottom: 15px !important;
        font-weight: 600 !important;
    }
    
    .footer-section .contact-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
        font-size: 0.9rem !important;
        color: var(--gray-700) !important;
        text-align: center !important;
    }
    
    /* Все контактные элементы по центру в мобилке */
    html body .footer .footer-section .contact-item,
    .footer-section .contact-item {
        justify-content: center !important;
        text-align: center !important;
        padding-left: 0 !important;
    }
    
    .footer-section .contact-item i {
        color: var(--primary-blue) !important;
        font-size: 1rem !important;
    }
    
    .footer-social {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .footer-social h3 {
        font-size: 1.2rem !important;
        color: var(--gray-900) !important;
        margin-bottom: 15px !important;
        font-weight: 600 !important;
    }
    
    .social-icons-row {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .social-link {
        width: 40px !important;
        height: 40px !important;
        background: var(--primary-blue) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }
    
    .social-link:hover {
        background: var(--secondary-blue) !important;
        transform: translateY(-2px) !important;
    }
    
    .footer-bottom {
        text-align: center !important;
        padding-top: 20px !important;
        border-top: 1px solid var(--gray-200) !important;
    }
    
    .footer-bottom p {
        font-size: 0.8rem !important;
        color: var(--gray-500) !important;
        margin: 0 !important;
    }
}

/* СУПЕР-ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ SERVICE-DETAILS НА МОБИЛКЕ */
@media (max-width: 768px),
(orientation: landscape) and (max-height: 520px) {

    html body .service-details,
    body .service-details,
    .service-content-new .service-details,
    .service-expandable .service-details,
    div.service-details,
    #model1,
    #tech1,
    #scan1,
    #rev1,
    #eng1,
    #post1 {
        max-width: 1200px !important;
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 25px 10px !important;
        box-sizing: border-box !important;
    }
}

/* ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ ПЕРВОГО БЛОКА */
@media (max-width: 768px),
(orientation: landscape) and (max-height: 520px) {

    /* Расширяем весь hero-section на полную ширину с отступами - ТЁМНЫЙ ФОН */
    .hero-section,
    html body .hero-section,
    body .hero-section {
        padding: 10px 5px !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
    }
    
    .hero-section .container {
        padding: 0 5px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ПЕРЕОПРЕДЕЛЕНИЕ для landscape - поднимаем hero-content-card выше */
    html body .hero-section .hero-content-card,
    body .hero-section .hero-content-card,
    .hero-section .hero-content-card {
        margin-top: -20px !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .hero-section .hero-content-card {
        padding: 20px 15px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ПРИНУДИТЕЛЬНО ПРОЗРАЧНЫЙ ФОН ДЛЯ text-section */
    .hero-section .text-section,
    html body .hero-section .text-section,
    body .hero-section .text-section {
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .hero-section .about-company {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-section .about-company .gradient-title {
        font-size: 1.3rem !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        color: #191970 !important;
        /* Fallback цвет для браузеров без поддержки градиентов */
        background: linear-gradient(45deg, #0066ff, #4169e1, #00bfff, #1e90ff, #0066ff) !important;
        background-size: 400% 400% !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        animation: gradientText 3s ease-in-out infinite !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 4px rgba(0, 102, 255, 0.2) !important;
        filter: contrast(1.2) brightness(1.1) !important;
    }
    
    .hero-section .about-company .description-text {
        font-size: 1rem !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 15px 0 !important;
    }
    
    .hero-section .about-company .hero-title {
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 0 30px 0 !important;
    }
    
    .modelix-brand {
        font-size: 1.1em !important;
    }
}

/* ===== ИСПРАВЛЕНИЕ КОРЗИНОЧКИ В БЛОКЕ ОСТАВЬТЕ ЗАЯВКУ ===== */
@media (max-width: 768px),
(orientation: landscape) and (max-height: 520px) {

    /* Сохраняем круглую форму корзиночки на мобильных устройствах */
    .service-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        background: linear-gradient(135deg, #2d5a2d, #1a6b5a) !important;
        animation: bounce 2s infinite !important;
    }
    
    .service-icon i {
        font-size: 18px !important;
        color: white !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Адаптация блока с корзиночкой */
    .service-item {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        padding: 12px 10px !important;
        border-radius: 12px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        transition: var(--transition) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .service-text {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: white !important;
        flex: 1 !important;
        text-align: left !important;
    }
    
    /* Дополнительная защита от сжатия */
    .additional-service {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 25px 0 !important;
    }
    
    .additional-service .service-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 0 !important;
    }
    
    /* ===== ДОПОЛНИТЕЛЬНЫЕ КОМФОРТНЫЕ ОТСТУПЫ ===== */
    
    /* УБИРАЕМ ВСЕ ПРИНУДИТЕЛЬНЫЕ ОТСТУПЫ */
    
    /* ========================================
       БЛОК "НАШИ ПРОЕКТЫ" - МОБИЛЬНАЯ ВЕРСИЯ
    ======================================== */
    
    .projects-section {
        padding: 0 0 30px 0 !important;
    }

    .projects-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 6px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .projects-intro {
        margin: 6px 7.5px 17.5px 7.5px !important;
        padding: 0 !important;
    }
    
    .projects-section .section-header {
        margin-bottom: 0 !important;
        margin-top: -20px !important;
    }
    
    .projects-section .container .section-header {
        margin-bottom: 0 !important;
        margin-top: -20px !important;
    }
    
    .projects-section .section-header .section-title {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    
    .projects-intro {
        margin-top: 4px !important;
    }
    
    .projects-section .projects-intro {
        margin-top: 4px !important;
        margin-bottom: 17.5px !important;
    }
    
    .projects-intro p {
        font-size: 16px !important;
        padding: 10px 12.5px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
    }
    
    /* Галерея проектов */
    .projects-gallery {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 7.5px !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }
    
    /* Главное окно */
    .projects-main-window {
        order: 1 !important;
        gap: 7.5px !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }
    
    /* Боковые окна */
    .projects-side-windows {
        flex-direction: row !important;
        gap: 7.5px !important;
        order: 2 !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        overflow: visible !important;
        justify-content: space-between !important;
    }
    
    /* КРИТИЧЕСКИЕ ИСПРАВЛЕНИЯ ДЛЯ СКРИНШОТОВ - ПЕРЕКРЫВАЕМ ВСЕ СТИЛИ */
    .projects-section .side-window,
    .projects-gallery .side-window,
    .side-window {
        border-width: 2px !important;
        border-radius: 12px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        aspect-ratio: unset !important;
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
    }
    
    /* Боковые окна внутри projects-side-windows - по 50% ширины */
    .projects-side-windows .side-window {
        width: calc(50% - 3.75px) !important;
        max-width: calc(50% - 3.75px) !important;
        flex: 0 0 calc(50% - 3.75px) !important;
    }
    
    .projects-section .side-window img,
    .projects-gallery .side-window img,
    .projects-side-windows .side-window img,
    .side-window img {
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        display: block !important;
        position: relative !important;
    }
    
    .side-window:hover {
        transform: translateY(-3px) scale(1.02) !important;
    }
    
    .projects-section .main-window-content,
    .projects-gallery .main-window-content,
    .projects-main-window .main-window-content,
    .main-window-content {
        border-width: 3px !important;
        border-radius: 15px !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        aspect-ratio: unset !important;
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
    }
    
    .projects-section .main-window-content img,
    .projects-gallery .main-window-content img,
    .projects-main-window .main-window-content img,
    .main-window-content img {
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        display: block !important;
        position: relative !important;
    }
    
    .main-window-content:hover {
        transform: translateY(-3px) !important;
    }
    
    .main-window-link {
        padding: 14px 30px !important;
        font-size: 16px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    /* Обёртка для плашки и иконок */
    .projects-social-wrapper {
        margin: 15px auto 0 auto !important;
        padding: 0 !important;
        flex-direction: column !important;
        gap: 9px !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 560px !important;
    }
    
    /* Плашка с соцсетями (только текст) */
    .projects-social-banner {
        padding: 7.5px 10px !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
        width: min(90%, 460px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
    }
    
    .social-banner-text {
        font-size: 13px !important;
        margin: 0 !important;
        white-space: normal !important;
        text-align: center !important;
    }
    
    .social-icons-inline {
        gap: 6px !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 520px !important;
        margin: 0 auto !important;
    }
    
    .social-icon-small {
        width: 55px !important;
        height: 55px !important;
        font-size: 26px !important;
        border-radius: 15px !important;
    }
    
    .social-icon-small:hover {
        transform: translateY(-3px) scale(1.05) !important;
    }
    
    .projects-section .social-icon-small,
    .projects-social-under .social-icon-small {
        width: 55px !important;
        height: 55px !important;
        font-size: 26px !important;
    }
    
    .projects-section .social-icon-small i,
    .projects-social-under .social-icon-small i {
        font-size: 26px !important;
    }
    
    .projects-section .social-icon-small.telegram-icon i,
    .projects-social-under .social-icon-small.telegram-icon i {
        font-size: 26px !important;
    }
    
    .projects-section .social-icon-small.vk-icon i,
    .projects-social-under .social-icon-small.vk-icon i {
        font-size: 26px !important;
    }
    
    .projects-section .social-icon-small.youtube-icon i,
    .projects-social-under .social-icon-small.youtube-icon i {
        font-size: 28px !important;
    }
    
    /* Иконки соц сетей под скриншотами */
    .projects-social-under {
        margin-bottom: 8px !important;
    }
    
    /* Текст о продукции */
    .projects-marketplace-text {
        margin: 8px auto 12.5px auto !important;
        padding: 0 5px !important;
        max-width: 520px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        align-self: center !important;
    }
    
    .projects-marketplace-text p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    /* Большие иконки маркетплейсов */
    .projects-marketplace-icons {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        margin: 12.5px auto 0 auto !important;
        padding: 0 5px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .marketplace-icon-large {
        width: 61px !important;
        height: 61px !important;
        border-radius: 13px !important;
        border-width: 2px !important;
    }
    
    .marketplace-icon-large:hover {
        transform: translateY(-8px) scale(1.04) !important;
    }
    
    .marketplace-icon-large i {
        font-size: 31px !important;
    }
    
    .marketplace-icon-large span {
        font-size: 14px !important;
    }
}

@media (orientation: landscape) and (max-height: 520px) {

    .projects-social-banner,
    .projects-social-wrapper,
    .social-icons-inline {
        margin-left: auto !important;
        margin-right: auto !important;
        width: min(85%, 480px) !important;
    }

    .projects-marketplace-text {
        margin: 12.5px auto 7.5px auto !important;
        width: min(85%, 480px) !important;
        justify-content: center !important;
        transform: translateY(4px) !important;
    }
}

/* Финальная фиксация навигации в landscape */
@media (orientation: landscape) and (max-width: 960px) {

    nav.navigation,
    .navigation,
    header .navigation {
        padding: 8px 6px !important;
    }

    .projects-social-banner {
        width: min(80%, 420px) !important;
        padding: 12px 18px !important;
    }

    .projects-marketplace-text {
        max-width: 460px !important;
        margin: 12.5px auto 7.5px auto !important;
        transform: translateY(4px) !important;
    }

    .projects-marketplace-text p {
        font-size: 15px !important;
    }

    .navigation .nav-container,
    nav .nav-container {
        flex-wrap: wrap !important;
        gap: 4px !important;
        justify-content: flex-end !important;
        align-items: stretch !important;
    }

    .nav-menu {
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
    }

    .nav-menu li {
        flex: none !important;
    }

    .nav-menu .nav-link {
        width: auto !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .nav-menu .nav-link:not(.call-btn) {
        padding: 4px 10px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.1px !important;
        min-width: 56px !important;
        height: 24px !important;
        border-radius: 6px !important;
        line-height: 1 !important;
    }

    .nav-menu .nav-link.call-btn,
    .navigation .nav-menu .nav-link.call-btn,
    nav .nav-menu .nav-link.call-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 18px !important;
        font-size: 0.74rem !important;
        min-width: 150px !important;
        height: 28px !important;
        border-radius: 10px !important;
        line-height: 1 !important;
        color: #1f2b1f !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 12px rgba(144, 238, 144, 0.35) !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }
}

/* КРИТИЧЕСКИЕ ПЕРЕОПРЕДЕЛЕНИЯ ДЛЯ WORKFLOW - В КОНЦЕ ФАЙЛА ДЛЯ МАКСИМАЛЬНОЙ СПЕЦИФИЧНОСТИ */
@media (max-width: 768px) {

    body .workflow-section .container .workflow-steps-new,
    html body .workflow-section .container .workflow-steps-new,
    section.workflow-section .container .workflow-steps-new,
    .workflow-section .workflow-steps-new,
    .workflow-section .container .workflow-steps-new,
    .workflow-steps-new {
        gap: 18px !important;
        margin-bottom: 30px !important;
    }
    
    body .workflow-section .workflow-step-new .step-content-new,
    html body .workflow-section .workflow-step-new .step-content-new,
    section.workflow-section .workflow-step-new .step-content-new,
    .workflow-step-new .step-content-new {
        margin-top: 14px !important;
        padding: 0 !important;
    }
    
    body .workflow-section .workflow-step-new .step-content-new h3,
    html body .workflow-section .workflow-step-new .step-content-new h3,
    section.workflow-section .workflow-step-new .step-content-new h3,
    .workflow-steps-new .workflow-step-new .step-content-new h3,
    .workflow-step-new .step-content-new h3 {
        margin-bottom: 10px !important;
    }
    
    body .workflow-section,
    html body .workflow-section,
    section.workflow-section {
        padding: 25px 10px !important;
    }
    
    /* Исправление наложения иконки на текст в статистике */
    .workflow-section .stat-icon,
    .stats-grid .stat-icon,
    .stat-item .stat-icon {
        margin-bottom: 20px !important;
        margin-top: 0 !important;
    }
    
    .workflow-section .stat-number,
    .stats-grid .stat-number,
    .stat-item .stat-number {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
    
    .workflow-section .stat-item,
    .stats-grid .stat-item {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ: Блок "ОСТАВЬТЕ ЗАЯВКУ" для маленьких экранов */
@media (max-width: 768px),
(orientation: landscape) and (max-height: 520px) {
    .contact-section {
        padding: 30px 10px !important;
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .contact-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .contact-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .order-form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .form-row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .form-input,
    .form-textarea,
    .file-upload,
    .submit-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* КРИТИЧЕСКИ ВАЖНО: Поля ввода не должны выходить за экран в landscape */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input.form-input,
    textarea.form-textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ДОПОЛНИТЕЛЬНАЯ ЗАЩИТА ДЛЯ LANDSCAPE РЕЖИМА */
@media (orientation: landscape) and (max-height: 520px) {

    .contact-section,
    .contact-section .container,
    .contact-content,
    .order-form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .form-row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    /* КРИТИЧЕСКИ ВАЖНО: Все поля ввода должны быть одинакового размера */
    input[type="email"],
    input[type="text"],
    input[type="tel"],
    input.form-input,
    textarea.form-textarea,
    .form-input,
    .form-textarea,
    .file-upload,
    .submit-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Форма и её контейнеры */
    .order-form * {
        box-sizing: border-box !important;
    }
}

/* КРИТИЧЕСКИ ВАЖНО: Заголовок влево при landscape - максимальный приоритет */
@media (orientation: landscape) and (max-height: 520px) {

    html body .hero-section .hero-content-card .hero-text-content .hero-title,
    body .hero-section .hero-content-card .hero-text-content .hero-title,
    .hero-section .hero-content-card .hero-text-content .hero-title,
    .hero-content-card .hero-text-content .hero-title,
    .hero-text-content .hero-title,
    .hero-title,
    html body .hero-title,
    body .hero-title {
        text-align: left !important;
    }

    html body .hero-section .hero-content-card .hero-text-content .hero-title .highlight-text,
    body .hero-section .hero-content-card .hero-text-content .hero-title .highlight-text,
    .hero-section .hero-content-card .hero-text-content .hero-title .highlight-text,
    .hero-content-card .hero-text-content .hero-title .highlight-text,
    .hero-text-content .hero-title .highlight-text,
    .hero-title .highlight-text,
    html body .hero-title .highlight-text,
    body .hero-title .highlight-text {
        text-align: left !important;
    }
}