/* =============================================================================
   DMARK - Мобильные стили
   Адаптация под мобильные устройства согласно дизайну
   ========================================================================== */

/* ===== КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ ДЛЯ ВСЕХ СЕКЦИЙ НА МОБИЛЬНЫХ ===== */
/* Переопределяем min-height: 100vh из основного CSS для мобильных */
@media (max-width: 768px) {
    /* PRODUCTS СЕКЦИЯ - ОСНОВНОЕ ИСПРАВЛЕНИЕ */
    .products {
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
        align-items: unset !important;
        overflow: visible !important;
        position: relative !important;
        padding: 40px 0 !important;
        background: var(--light-gray) !important;
    }
    
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 15px !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        justify-content: center !important;
    }
    
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 20px 15px !important;
        border-radius: 15px !important;
        background: white !important;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1) !important;
        text-align: center !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .product-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin: 0 auto 15px !important;
    }
    
    .product-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }
    
    .product-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }
    
    /* FEATURES СЕКЦИЯ */
    .features {
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
        align-items: unset !important;
        overflow: visible !important;
    }
    
    .features-grid {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .feature-card {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* ===== ОБЕРТКА ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ ===== */
    .mobile-news-wrapper {
        min-height: 650px !important;
        height: 650px !important;
    }
    
    /* Контейнер новостей для маленьких экранов */
    .mobile-news-container {
        width: 100% !important;
        height: 100% !important;
    }
    
    /* ===== OVERLAY СТРЕЛКИ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ ===== */
    .mobile-overlay-arrow {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        background: rgba(245, 131, 25, 0.9) !important; /* Оранжевые и на маленьких экранах */
        box-shadow: 0 3px 12px rgba(245, 131, 25, 0.3) !important;
    }
    
    .mobile-overlay-arrow:hover,
    .mobile-overlay-arrow:active {
        background: rgba(245, 131, 25, 1) !important;
        box-shadow: 0 5px 15px rgba(245, 131, 25, 0.4) !important;
    }
    
    .mobile-news-overlay-controls {
        top: 30% !important; /* Поднимаем еще выше на маленьких экранах */
    }
}

/* ===== МОБИЛЬНОЕ МЕНЮ С ПЛАВНОЙ АНИМАЦИЕЙ ===== */

/* Затемнение фона при открытом меню */
@media (max-width: 768px), (orientation: landscape) and (max-height: 600px) {
    /* Backdrop overlay */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        pointer-events: none;
    }
    
    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* Предотвращаем скролл body когда меню открыто */
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }
}

/* Мобильные стили для экранов до 768px ИЛИ для горизонтальной ориентации с высотой до 600px */
@media (max-width: 768px), (orientation: landscape) and (max-height: 600px) {
    /* ===== ОБЩИЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ ===== */
    /* Адаптивные заголовки секций */
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    /* ===== ПРИНУДИТЕЛЬНОЕ ОТОБРАЖЕНИЕ ВСЕХ ШАГОВ ПРОЦЕССА ===== */
    /* ПЕРЕОПРЕДЕЛЯЕМ БАЗОВЫЕ ПРАВИЛА ДЛЯ МОБИЛЬНЫХ */
    .sticky-content {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
        margin-bottom: 15px !important;
        z-index: auto !important;
        height: auto !important;
        width: 100% !important;
        background: white !important;
        top: auto !important;
        left: auto !important;
    }
    
    /* ПЕРЕОПРЕДЕЛЯЕМ ПРАВИЛА ДЛЯ ВСЕХ СОСТОЯНИЙ */
    .sticky-content,
    .sticky-content.active,
    .sticky-content.exiting,
    .sticky-content:not(.active) {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
        margin-bottom: 30px !important;
        z-index: auto !important;
        height: auto !important;
        width: 100% !important;
        background: white !important;
        top: auto !important;
        left: auto !important;
    }
    
    /* Гарантируем отображение всех шагов */
    .sticky-content[data-step="1"],
    .sticky-content[data-step="2"], 
    .sticky-content[data-step="3"] {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: relative !important;
        height: auto !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
        background: white !important;
        margin-bottom: 30px !important;
        top: auto !important;
        left: auto !important;
        z-index: auto !important;
    }
    
    /* ПЕРЕОПРЕДЕЛЯЕМ ВСЕ ВЛОЖЕННЫЕ ЭЛЕМЕНТЫ */
    .sticky-content .step-indicator,
    .sticky-content.active .step-indicator,
    .sticky-content .step-number,
    .sticky-content.active .step-number,
    .sticky-content .step-icon,
    .sticky-content.active .step-icon,
    .sticky-content h3,
    .sticky-content.active h3,
    .sticky-content p,
    .sticky-content.active p,
    .sticky-content .step-image,
    .sticky-content.active .step-image {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        filter: none !important;
    }
    
    .sticky-container {
        position: relative !important;
        height: auto !important;
        display: block !important;
        background: white !important;
        padding: 20px 0 !important;
        overflow: visible !important;
    }
    
    /* Скрываем индикатор прогресса */
    .sticky-progress {
        display: none !important;
    }
    
    /* Убираем spacer */
    .spacer {
        display: none !important;
    }
/* ================ ИСПРАВЛЕНИЕ ДЛЯ ГОРИЗОНТАЛЬНОЙ ОРИЕНТАЦИИ ================ */

/* ===== КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ ДЛЯ FEATURES В LANDSCAPE ===== */
@media (orientation: landscape) and (max-height: 600px) {
    .features {
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
        align-items: unset !important;
        overflow: visible !important;
    }
}

/* Основные мобильные стили для горизонтальной ориентации */
/* Используем комбинацию max-height и ориентации для надежного определения мобильных */
@media (orientation: landscape) and (max-height: 600px) and (hover: none) {
    /* Принудительно применяем мобильные стили в landscape */
    
    /* НАВИГАЦИЯ */
    .navbar {
        height: 60px !important;
        background: rgba(17, 29, 53, 0.6) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-container {
        height: 60px !important;
        padding: 0 15px !important;
    }
    
    /* Плавное скрытие/появление navbar */
    .navbar.hide-on-scroll {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Логотип остается мобильным */
    .logo-text {
        font-size: 28px !important;
        font-weight: 900 !important;
        color: white !important;
        line-height: 1 !important;
    }
    
    .logo-img {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
    
    .nav-logo {
        gap: 6px !important;
    }
    
    /* Гамбургер меню */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
    }
    
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 60px !important;
        flex-direction: column !important;
        background: rgba(17, 29, 53, 0.75) !important;
        width: 100% !important;
        text-align: center !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.4) !important;
        padding: 20px 0 !important;
        z-index: -1 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(-20px) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
        z-index: 999 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    /* Убираем полоску для landscape версии */
    .nav-link::after {
        display: none !important;
    }
    
    /* Hero секция */
    .hero {
        min-height: 100vh !important;
        padding: 70px 0 30px !important;
    }
    
    /* Фоновое изображение для landscape */
    .hero::after {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center !important;
        background-attachment: fixed !important;
        opacity: 0.15 !important;
        right: 0 !important;
        top: 0 !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
        padding: 0 15px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 10px !important;
    }
    
    /* Скрываем визуальную часть */
    .hero-visual {
        display: none !important;
    }
    
    /* Показываем мобильные карточки */
    .mobile-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 20px !important;
    }
    
    .mobile-card {
        padding: 15px !important;
        border-radius: 12px !important;
    }
    
    /* Статистики горизонтально */
    .hero-stats {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .stat-item {
        max-width: 120px !important;
    }
    
    .stat-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-text {
        font-size: 0.8rem !important;
    }
    
    /* Кнопки горизонтально */
    .hero-buttons {
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: center !important;
    }
    
    .hero-buttons .btn {
        max-width: 200px !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* Скрываем вторую кнопку */
    .btn-secondary {
        display: none !important;
    }
    
    /* ===== ЕДИНЫЙ ФОН ДЛЯ ВСЕХ СЕКЦИЙ В LANDSCAPE ===== */
    .products,
    .process,
    .process-step-section,
    .companies-section,
    .news-section {
        background: white !important; /* Единый белый фон для всех секций */
    }
    

    
    /* ===== СКРЫВАЕМ STICKY ПРЕЗЕНТАЦИЮ В LANDSCAPE ===== */
    .spacer {
        display: none !important;
    }
    
    .sticky-container {
        position: relative !important;
        height: auto !important;
        display: block !important;
        background: white !important;
        padding: 15px 0 !important;
    }
    
    .sticky-progress {
        display: none !important;
    }
    
    .sticky-content {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
        margin-bottom: 20px !important;
        z-index: auto !important;
    }
    
    /* ПРИНУДИТЕЛЬНО показываем ВСЕ шаги в landscape */
    .sticky-content:not(.active) {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: relative !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
    }
    
    .sticky-content[data-step="1"],
    .sticky-content[data-step="2"],
    .sticky-content[data-step="3"] {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: relative !important;
        height: auto !important;
        transform: none !important;
        filter: none !important;
    }
    
    .process-step-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 15px !important;
        text-align: center !important;
    }
    
    .step-info h3 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
        color: var(--text-dark) !important;
        font-weight: 700 !important;
    }
    
    .step-info p {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
        color: var(--text-light) !important;
        line-height: 1.4 !important;
    }
    
    .step-image {
        width: 100% !important;
        max-width: 280px !important;
        height: auto !important;
        border-radius: 10px !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1) !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Products и другие секции */
    .products {
        padding: 40px 0 !important;
        position: relative !important;
        min-height: auto !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        padding: 0 15px !important;
    }
    
    .product-card {
        padding: 12px 8px !important;
    }
    
    .product-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .product-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .product-card p {
        font-size: 0.75rem !important;
    }
    
    /* Features */
    .features {
        padding: 40px 0 !important;
        position: relative !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        background: var(--primary-blue) !important;
        color: white !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
        align-items: unset !important;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    .feature-card {
        padding: 12px 8px !important;
        min-height: 140px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .feature-card h3 {
        font-size: 0.85rem !important;
        margin: 0 0 4px 0 !important;
        color: white !important;
    }
    
    .feature-card p {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Process секция */
    .process {
        padding: 30px 0 30px 0 !important; /* Добавили нижний отступ */
        position: relative !important;
        min-height: auto !important;
    }
    
    /* ===== КОМПАНИИ В LANDSCAPE ===== */
    .companies-section {
        padding: 30px 0 20px 0 !important; /* Добавили верхний отступ */
    }
    
    .companies-section .section-header {
        margin-top: 15px !important; /* Дополнительный верхний отступ для заголовка */
    }
    
    .process-step-section {
        padding: 30px 0 !important;
        position: relative !important;
        min-height: auto !important;
    }
    
    /* Timeline компактный */
    .process-steps-timeline {
        padding: 0 15px !important;
        gap: 10px !important;
        margin: 20px auto 0 !important;
    }
    
    .timeline-step {
        padding: 12px 15px 8px 15px !important;
        gap: 10px !important;
    }
    
    .timeline-step .step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .timeline-step .step-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.7rem !important;
    }
    
    .timeline-step .step-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 4px !important;
    }
    
    .timeline-step .step-content p {
        font-size: 0.85rem !important;
    }
    
    /* Новости - мобильная версия */
    .news-section .news-carousel-container,
    .news-section .carousel-controls,
    .news-section .carousel-indicators {
        display: none !important;
    }
    
    .mobile-news-container,
    .mobile-carousel-controls {
        display: block !important;
    }
    
    .mobile-news-container {
        height: 500px !important;
        min-height: 500px !important;
    }
    
    /* CTA форма */
    .cta {
        padding: 40px 0 !important;
    }
    
    .cta-form-container {
        margin: 15px 10px 0 !important;
        padding: 15px 12px !important;
    }
    
    .cta-form .form-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}

/* ===== КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ ДЛЯ FEATURES МАЛЕНЬКИХ LANDSCAPE ===== */
@media (orientation: landscape) and (max-height: 450px) {
    .features {
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
        align-items: unset !important;
        overflow: visible !important;
        padding: 30px 0 !important;
    }
}

/* Дополнительные стили для очень маленьких горизонтальных экранов */
@media (orientation: landscape) and (max-height: 450px) and (hover: none) {
    .hero {
        min-height: auto !important;
        padding: 60px 0 20px !important;
    }
    
    /* Фоновое изображение для маленьких landscape экранов */
    .hero::after {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center !important;
        background-attachment: fixed !important;
        opacity: 0.12 !important;
        right: 0 !important;
        top: 0 !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-stats {
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    
    .stat-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }
    
    .stat-number {
        font-size: 1.6rem !important;
    }
    
    .mobile-cards {
        gap: 6px !important;
        margin-top: 15px !important;
    }
    
    .mobile-card {
        padding: 12px !important;
    }
    
    .mobile-card-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
    .section-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
        margin-bottom: 30px;
    }
    /* ===== ОТКЛЮЧАЕМ ЭФФЕКТ НАХЛЕСТА НА МОБИЛЬНЫХ ===== */
    /* На мобильных все секции становятся обычными, не sticky */
    .hero,
    .products,
    .process,
    .process-step-section,
    .features,
    .companies-section,
    .news-section,
    .cta {
        position: relative !important;
        top: auto !important;
        min-height: auto !important;
        z-index: auto !important;
        box-shadow: none !important;
    }
    
    /* ===== КОНТЕНТ ШАГОВ ПРОЦЕССА НА МОБИЛЬНЫХ ===== */
    .process-step-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 15px !important;
        text-align: center !important;
    }
    
    .step-info {
        width: 100% !important;
    }
    
    .step-info h3 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        color: var(--text-dark) !important;
        font-weight: 700 !important;
    }
    
    .step-info p {
        font-size: 1.1rem !important;
        margin-bottom: 20px !important;
        color: var(--text-light) !important;
        line-height: 1.6 !important;
    }
    
    .step-image {
        width: 100% !important;
        max-width: 350px !important;
        height: auto !important;
        border-radius: 15px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* ИСПРАВЛЯЕМ РАЗМЕРЫ НОМЕРОВ ШАГОВ ДЛЯ МОБИЛЬНЫХ */
    .step-indicator {
        position: relative !important;
        flex-shrink: 0 !important;
    }
    
    .step-number {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        background: var(--accent-orange) !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
    }
    
    .step-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
        background: var(--secondary-blue) !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        bottom: -3px !important;
        right: -3px !important;
    }
    
    /* Убираем все псевдоэлементы для теней */
    .hero::before,
    .products::before,
    .process::before,
    .process-step-section::before,
    .features::before,
    .companies-section::before,
    .news-section::before,
    .cta::before {
        display: none !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* ===== СКРЫВАЕМ ПК ВЕРСИЮ НОВОСТЕЙ НА МОБИЛЬНЫХ ===== */
    .news-section .news-carousel-container,
    .news-section .carousel-controls,
    .news-section .carousel-indicators {
        display: none !important;
    }
    
    /* Скрываем ПК версию карусели в related-news */
    .related-news .related-news-carousel-container,
    .related-news .carousel-controls,
    .related-news .carousel-indicators {
        display: none !important;
    }
    
    /* Показываем мобильную версию */
    .mobile-news-container,
    .mobile-carousel-controls,
    .mobile-related-news-container,
    .mobile-related-carousel-controls {
        display: block !important;
    }
    /* ===== НАВИГАЦИЯ ===== */
    .navbar {
        height: 60px;
        background: rgba(17, 29, 53, 0.6) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 15px;
        position: relative;
    }
    
    /* Улучшаем плавность скрытия/появления navbar на мобильных */
    .navbar.hide-on-scroll {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    .navbar:not(.hide-on-scroll) {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* Логотип на мобильных - дополнительные стили */
    .nav-logo {
        gap: 8px !important; /* Уменьшаем расстояние между логотипом и текстом */
    }
    
    .logo-text {
        font-size: 32px !important; /* Принудительно устанавливаем размер */
        font-weight: 900 !important;
        color: white !important;
        line-height: 1 !important; /* Убираем лишние отступы */
    }
    
    .logo-img {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important; /* Предотвращаем сжатие */
    }
    /* Селектор языка - оставляем, но адаптируем */
    .language-selector {
        margin-left: 0;
    }
    .lang-current {
        padding: 6px 10px;
        font-size: 12px;
    }
    /* Телефон на мобильных - скрываем для экономии места */
    .nav-phone {
        display: none;
    }
    /* Обеспечиваем правильное расположение в nav-container */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    /* Правая часть навигации */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    /* Гамбургер меню */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
        transition: transform 0.2s ease;
        padding: 5px;
        border-radius: 4px;
    }
    
    .nav-toggle:active {
        transform: scale(0.95);
    }
    
    .nav-toggle .bar {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 3px 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        border-radius: 2px;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(17, 29, 53, 0.75);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.4);
        padding: 12px 0;
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-20px);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
        z-index: 999;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    .nav-item {
        margin: 3px 0;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Задержка появления для каждого элемента */
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(8) { transition-delay: 0.45s; }
    .nav-menu.active .nav-item:nth-child(9) { transition-delay: 0.5s; }
    .nav-menu.active .nav-item:nth-child(10) { transition-delay: 0.55s; }
    .nav-link {
        color: white;
        font-size: 14px;
        padding: 8px 20px;
        display: block;
        text-decoration: none;
        border-radius: 8px;
        margin: 0 20px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    /* Убираем полоску для мобильной версии */
    .nav-link::after {
        display: none !important;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-orange);
        transform: translateX(5px);
    }
    
    .nav-link:active {
        transform: translateX(5px) scale(0.98);
    }
    /* ===== HERO СЕКЦИЯ ===== */
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
        position: relative;
    }
    .hero::after {
        /* Показываем фоновое изображение на мобильных */
        display: block !important;
        /* Адаптируем под мобильные */
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center !important;
        background-attachment: fixed !important;
        opacity: 0.15 !important; /* Меньшая прозрачность для лучшей читаемости текста */
        right: 0 !important;
        top: 0 !important;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 15px;
        max-width: 100%;
    }
    .hero-content {
        color: white;
        order: 1;
    }
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.1;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        opacity: 0.9;
        line-height: 1.4;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    /* ===== СТАТИСТИКИ - ГОРИЗОНТАЛЬНОЕ РАСПОЛОЖЕНИЕ ===== */
    .hero-stats {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 35px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: auto;
        min-width: 100px;
        max-width: 120px;
    }
    .stat-icon {
        width: 60px;
        height: 60px;
        background: var(--accent-orange);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        margin-bottom: 8px;
        box-shadow: 0 3px 10px rgba(245, 131, 25, 0.3);
        order: 1;
    }
    .stat-number {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 3px;
        order: 2;
        color: white;
    }
    .stat-text {
        font-size: 0.8rem;
        opacity: 0.9;
        order: 3;
        color: white;
        line-height: 1.2;
        text-align: center;
    }
    /* ===== КНОПКИ ===== */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        margin-bottom: 40px;
    }
    /* Скрываем кнопку "Узнать больше" на мобильных */
    .btn-secondary {
        display: none !important;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 18px 25px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
    }
    .btn-primary {
        background: var(--accent-orange);
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(245, 131, 25, 0.3);
    }
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(245, 131, 25, 0.4);
    }
    /* ===== FEATURES СЕКЦИЯ (ОСОБЕННОСТИ РЕШЕНИЯ) - ИСПРАВЛЕНО ===== */
    .features {
        padding: 50px 0 !important;
        position: relative !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        background: var(--primary-blue) !important;
        color: white !important;
        overflow: visible !important;
        z-index: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: unset !important;
    }
    
    .features .section-title {
        color: white !important;
        font-weight: 700 !important;
        font-size: 1.8rem !important;
    }
    
    .features .section-subtitle {
        color: white !important;
        opacity: 0.9 !important;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 колонки на мобильных */
        gap: 12px !important;
        padding: 0 15px;
    }
    .feature-card {
        padding: 12px 8px !important;
        min-height: 130px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        margin: 0 auto 8px !important;
        font-size: 1.1rem !important;
        flex-shrink: 0 !important;
    }
    .feature-card h3 {
        font-size: 0.9rem !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        hyphens: auto !important;
        text-align: center !important;
        flex: none !important;
        color: white !important;
    }
    .feature-card p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        word-break: break-word !important;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    
    /* ===== ПРИНУДИТЕЛЬНОЕ ОТОБРАЖЕНИЕ FEATURES НА МОБИЛЬНЫХ ===== */
    .features {
        position: relative !important;
        min-height: auto !important;
        padding: 30px 0 !important;
        background: var(--primary-blue) !important;
        color: white !important;
        z-index: auto !important;
        top: auto !important;
        overflow: visible !important;
        display: block !important;
        box-shadow: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .features .section-title {
        color: white !important;
        font-weight: 700 !important;
    }
    
    .features .section-subtitle {
        color: white !important;
        opacity: 0.9 !important;
    }
    
    .features-grid {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .feature-card {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    
    .feature-card h3 {
        color: white !important;
    }
    
    .feature-card p {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* ===== СКРЫВАЕМ ВИЗУАЛЬНУЮ ЧАСТЬ НА МОБИЛЬНЫХ ===== */
    .hero-visual {
        display: none;
    }
    /* ===== ЕДИНЫЙ ФОН ДЛЯ ВСЕХ СЕКЦИЙ НА МОБИЛЬНЫХ ===== */
    .products,
    .process,
    .process-step-section,
    .companies-section,
    .news-section {
        background: white !important; /* Единый белый фон для всех секций */
    }
    
    /* ===== PRODUCTS СЕКЦИЯ - ОБНОВЛЕНО ===== */
    .products {
        position: relative !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
        align-items: unset !important;
        overflow: visible !important;
        padding: 40px 0 !important;
        background: var(--light-gray) !important;
        box-shadow: none !important;
    }
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 15px !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        justify-content: center !important;
    }
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 20px 15px !important;
        border-radius: 15px !important;
        background: white !important;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1) !important;
        text-align: center !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto 12px;
    }
    .product-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    .product-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    /* ===== МОЩНОЕ ПРИНУДИТЕЛЬНОЕ ОТОБРАЖЕНИЕ ПРОЦЕССА ===== */
    /* Переопределяем любые JavaScript стили */
    .process {
        position: relative !important;
        min-height: auto !important;
        padding: 30px 0 30px !important; /* Добавили нижний отступ с 10px до 30px */
        box-shadow: none !important;
        display: block !important; /* Принудительно блочное отображение на мобильных */
        align-items: unset !important; /* Убираем центрирование */
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        z-index: auto !important;
        top: auto !important;
        left: auto !important;
    }
    
    /* Обычная секция процесса */
    .process .container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Компактные заголовки процесса */
    .process .section-header {
        margin-bottom: 20px;
        text-align: center;
    }
    
    /* ИСПРАВЛЯЕМ TIMELINE ПРОЦЕССА */
    .process-steps-timeline {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px !important;
        max-width: 100% !important;
        margin: 30px auto 0 !important;
        align-items: stretch !important; /* Растягиваем карточки на всю ширину */
        visibility: visible !important; /* Принудительно делаем видимым */
        opacity: 1 !important; /* Принудительно делаем непрозрачным */
    }
    
    .timeline-step {
        padding: 20px 20px 15px 20px !important;
        background: white !important;
        border-radius: 15px !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1) !important;
        max-width: 100% !important;
        margin: 0 !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 15px !important;
        transform: none !important;
        opacity: 1 !important;
        width: 100% !important; /* Принудительно на всю ширину */
        box-sizing: border-box !important;
        visibility: visible !important; /* Принудительно делаем видимым */
    }
    
    /* Левая часть - иконка с номером */
    .timeline-step .step-indicator {
        position: relative;
        flex-shrink: 0;
        margin-bottom: 0 !important;
    }
    
    .timeline-step .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
        background: var(--accent-orange);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        position: relative;
        margin-bottom: 0 !important;
    }
    
    .timeline-step .step-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
        background: var(--secondary-blue);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        bottom: -3px;
        right: -3px;
    }
    
    /* Правая часть - текст */
    .timeline-step .step-content {
        text-align: left !important;
        flex: 1 !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .timeline-step .step-content h3 {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
        color: var(--text-dark);
        font-weight: 600;
        line-height: 1.2;
    }
    
    .timeline-step .step-content p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        color: var(--text-light);
        margin: 0 !important;
    }
    
    /* Убираем стрелки между карточками */
    .timeline-connector {
        display: none !important;
    }
    /* ===== МОБИЛЬНЫЕ КАРТОЧКИ ВНИЗУ ===== */
    .mobile-cards {
        display: flex !important; /* Переопределяем скрытие с основного CSS */
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
        padding: 0 15px;
    }
    .mobile-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mobile-card-icon {
        width: 50px;
        height: 50px;
        background: var(--accent-orange);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        flex-shrink: 0;
    }
    .mobile-card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        font-weight: 600;
    }
    .mobile-card-content p {
        font-size: 0.9rem;
        opacity: 0.8;
        margin: 0;
        line-height: 1.3;
    }
    
    /* ===== НОВАЯ МОБИЛЬНАЯ ВЕРСИЯ НОВОСТЕЙ ===== */
    /* ===== КОМПАНИИ ИСПОЛЬЗУЮЩИЕ DMARK ===== */
    .companies-section {
        padding: 40px 0 30px 0 !important; /* Добавили верхний отступ */
    }
    
    .companies-section .section-header {
        margin-top: 20px !important; /* Дополнительный верхний отступ для заголовка */
    }
    
    /* НОВОСТНАЯ СЕКЦИЯ - ПОЛНОСТЬЮ НОВАЯ С НУЛЯ */
    
    /* Основная секция */
    .news-section {
        padding: 30px 0;
        position: relative;
        overflow: visible;
    }
    
    /* Контейнер секции - обычные отступы для заголовков */
    .news-section .container {
        padding: 0 15px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Заголовки секции */
    .news-section .section-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .news-section .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .news-section .section-subtitle {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }
    
    /* НОВОЕ - МОБИЛЬНЫЙ КОНТЕЙНЕР НОВОСТИ */
    .mobile-news-container {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0;
        min-height: 750px; /* Увеличили с 600px до 750px */
        height: 750px; /* Увеличили высоту для размещения всего контента */
        overflow: hidden; /* Скрываем переполнение */
    }
    
    /* ===== НОВАЯ СТРУКТУРА МОБИЛЬНЫХ НОВОСТЕЙ ===== */
    
    /* Обертка для мобильных новостей */
    .mobile-news-wrapper {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0;
        min-height: 750px;
        height: 750px;
        overflow: hidden;
    }
    
    /* Контейнер новости */
    .mobile-news-container {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    /* МОБИЛЬНАЯ КАРТОЧКА НОВОСТИ */
    .mobile-news-card {
        background: white;
        width: 100%;
        height: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute; /* Абсолютное позиционирование для перекрытия карточек */
        top: 0;
        left: 0;
    }
    
    /* Анимация появления карточки */
    .mobile-news-card.show {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Анимация исчезновения карточки */
    .mobile-news-card.hide-left {
        opacity: 0;
        transform: translateX(-100px) scale(0.95);
    }
    
    .mobile-news-card.hide-right {
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }
    
    /* Анимация появления карточки с разных сторон */
    .mobile-news-card.enter-from-left {
        opacity: 0;
        transform: translateX(-100px) scale(0.95);
    }
    
    .mobile-news-card.enter-from-right {
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }
    
    .mobile-news-card.enter-from-left.show,
    .mobile-news-card.enter-from-right.show {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    
    /* Изображение новости */
    .mobile-news-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    /* Ссылка на изображение - делаем кликабельной */
    .mobile-news-image-link {
        display: block;
        overflow: hidden;
        transition: opacity 0.3s ease;
    }
    
    .mobile-news-image-link:hover {
        opacity: 0.9;
    }
    
    /* Контент новости */
    .mobile-news-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Распределяем контент по высоте */
        overflow-y: visible; /* Убрали прокрутку, теперь контент помещается */
        -webkit-overflow-scrolling: touch;
    }
    
    /* Основная часть контента */
    .mobile-news-main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    /* Нижняя часть с кнопкой */
    .mobile-news-bottom {
        margin-top: auto;
        padding-top: 15px;
    }
    
    /* Дата */
    .mobile-news-date {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 10px;
        font-weight: 500;
    }
    
    /* Заголовок */
    .mobile-news-title {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-dark);
        margin-bottom: 12px;
    }
    
    /* Ссылка на заголовок - делаем кликабельной */
    .mobile-news-title-link {
        text-decoration: none;
        color: inherit;
        display: block;
        transition: color 0.3s ease;
    }
    
    .mobile-news-title-link:hover,
    .mobile-news-title-link:active {
        color: var(--accent-orange);
        text-decoration: none;
    }
    
    .mobile-news-title-link h3 {
        margin: 0;
        transition: color 0.3s ease;
    }
    
    /* Описание */
    .mobile-news-excerpt {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #666;
        margin-bottom: 15px;
    }
    
    /* Теги */
    .mobile-news-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .mobile-news-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
        border-radius: 15px;
        font-weight: 500;
        color: white; /* Белый текст для читаемости на любом цветном фоне */
        /* Фон теперь задается через style="background-color: ${tag.color}" в JavaScript */
    }
    
    /* Кнопка "Читать далее" */
    .mobile-news-read-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: var(--accent-orange);
        color: white;
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        align-self: flex-start;
    }
    
    .mobile-news-read-more:hover,
    .mobile-news-read-more:active {
        background: #e55a00;
        transform: translateY(-1px);
    }
    
    /* ===== CTA ФОРМА - КОМПАКТНАЯ ВЕРСИЯ ДЛЯ МОБИЛЬНЫХ ===== */
    .cta-form-container {
        margin: 20px 15px 0 !important;
        padding: 20px 15px !important;
        border-radius: 20px !important;
    }
    
    .cta-form {
        gap: 15px !important; /* Уменьшили с 25px до 15px */
    }
    
    .cta-form .form-row {
        gap: 12px !important; /* Уменьшили с 20px до 12px */
    }
    
    .cta-form .form-group {
        gap: 2px !important; /* Уменьшили с 5px до 2px - минимальное расстояние */
    }
    
    .cta-form .form-group label {
        font-size: 0.9rem !important;
        margin-bottom: 0px !important; /* Убрали margin-bottom */
    }
    
    .cta-form input,
    .cta-form select,
    .cta-form textarea {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
        border-radius: 12px !important;
        margin-top: 0px !important; /* Убираем margin-top если есть */
    }
    
    .cta-form textarea {
        min-height: 60px !important; /* Уменьшили высоту */
    }
    
    .cta-form .submit-btn {
        margin-top: 8px !important; /* Уменьшили отступ сверху */
    }
    
    .cta-form .btn {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        min-width: 180px !important;
    }
    
    /* ===== СТРЕЛКИ НАВИГАЦИИ ПОВЕРХ МОБИЛЬНЫХ НОВОСТЕЙ ===== */
    
    /* Контейнер для стрелок поверх статьи */
    .mobile-news-overlay-controls {
        position: absolute;
        top: 35%; /* Поднимаем с 50% до 35% - выше текста, на уровне изображения */
        left: 0;
        right: 0;
        transform: translateY(-50%);
        z-index: 200;
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
        pointer-events: none;
        width: 100%;
        height: auto;
    }
    
    /* Стрелки поверх статьи */
    .mobile-overlay-arrow {
        width: 50px;
        height: 50px;
        border: none;
        border-radius: 50%;
        background: rgba(245, 131, 25, 0.9); /* Оранжевый фон вместо черного */
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(245, 131, 25, 0.3); /* Оранжевая тень */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        pointer-events: auto;
        opacity: 0.9;
    }
    
    .mobile-overlay-arrow:hover,
    .mobile-overlay-arrow:active {
        background: rgba(245, 131, 25, 1); /* Более насыщенный оранжевый при наведении */
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(245, 131, 25, 0.4);
        opacity: 1;
    }
    
    .mobile-overlay-arrow:disabled {
        background: rgba(128, 128, 128, 0.6); /* Серый фон для disabled */
        cursor: not-allowed;
        transform: none;
        box-shadow: 0 2px 8px rgba(128, 128, 128, 0.3); /* Серая тень */
        opacity: 0.4;
    }
    
    .mobile-overlay-arrow:disabled:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Анимация нажатия */
    .mobile-overlay-arrow:active:not(:disabled) {
        transform: scale(0.95);
    }
    
    /* ===== МОБИЛЬНАЯ КАРУСЕЛЬ (ТОЛЬКО ИНДИКАТОРЫ) ===== */
    .mobile-carousel-controls {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        padding: 0 15px;
    }
    
    /* Индикаторы */
    .mobile-carousel-indicators {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    
    .mobile-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.4s ease;
        border: none;
        position: relative;
        overflow: hidden;
    }
    
    /* Прогресс-бар для активного индикатора */
    .mobile-indicator::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: var(--accent-orange);
        border-radius: 50%;
        transition: width 0.3s ease;
    }
    
    .mobile-indicator.active {
        background: var(--accent-orange);
        transform: scale(1.3);
        box-shadow: 0 0 0 3px rgba(245, 131, 25, 0.2);
    }
    
    /* Анимация прогресса для автолистания */
    .mobile-indicator.active.auto-progress::before {
        width: 100%;
        transition: width 4s linear;
    }
    
    .mobile-indicator:hover {
        background: #bbb;
        transform: scale(1.1);
    }
}
    /* ===== НОВОСТНЫЕ СТРАНИЦЫ - МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
    /* Оптимизация новостной страницы для мобильных */
    .news-page {
        padding-top: 0 !important;
    }
    
    .news-page-top-spacer {
        height: 60px !important;
        background: var(--primary-blue) !important;
    }
    
    /* Компактный header новостей */
    .news-header {
        padding: 20px 0 !important; /* Уменьшили с 40px */
        text-align: center;
    }
    
    .news-header h1 {
        font-size: 1.8rem !important; /* Уменьшили заголовок */
        margin-bottom: 8px !important;
        line-height: 1.2;
    }
    
    .news-header p {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        opacity: 0.9;
    }
    
    /* Компактный контент новостей */
    .news-content {
        padding: 20px 0 !important; /* Уменьшили с 50px */
    }
    
    /* Поисковая строка */
    .search-box {
        margin: 0 auto 20px !important; /* Уменьшили отступы */
        padding: 0 15px;
    }
    
    .search-box input {
        padding: 12px 45px 12px 15px !important; /* Компактнее */
        font-size: 0.9rem !important;
        border-radius: 20px !important;
    }
    
    /* Фильтры */
    .news-filters {
        margin-bottom: 20px !important; /* Уменьшили отступы */
        padding: 0 15px;
        gap: 10px !important;
        overflow-x: auto;
        overflow-y: visible !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
        z-index: 9999;
    }
    
    .news-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 8px 16px !important; /* Компактнее */
        font-size: 0.85rem !important;
        border-radius: 20px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Активное состояние кнопок фильтров на мобильных */
    .filter-btn.active {
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    }
    
    .more-tags-btn.active {
        background: var(--accent-orange) !important;
        border-color: var(--accent-orange) !important;
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Сетка новостей - одна колонка на мобильных */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 15px;
    }
    
    /* Карточки новостей */
    .news-card {
        border-radius: 15px !important;
        margin-bottom: 0 !important;
    }
    
    .news-card-content {
        padding: 20px 15px !important; /* Компактнее */
    }
    
    .news-image {
        height: 160px !important; /* Уменьшили высоту */
        border-radius: 15px 15px 0 0 !important;
    }
    
    .news-title {
        font-size: 1.1rem !important; /* Компактнее */
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    
    .news-excerpt {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    
    .news-date {
        font-size: 0.8rem !important;
        margin-bottom: 10px !important;
    }
    
    /* Теги в новостях */
    .news-item-tags {
        margin: 10px 0 15px 0 !important;
        gap: 5px !important;
    }
    
    .news-item-tag {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
        border-radius: 10px !important;
    }
    
    /* Пагинация */
    .pagination {
        margin-top: 30px !important; /* Уменьшили отступ */
        padding: 0 15px;
        gap: 8px !important;
    }
    
    .pagination button {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
    }
    
    /* Состояния загрузки и ошибок */
    .news-loading, .news-error, .news-empty {
        padding: 40px 15px !important;
        text-align: center;
    }
    
    .news-loading i, .news-error i, .news-empty i {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    /* ===== СТРАНИЦА ОТДЕЛЬНОЙ НОВОСТИ - МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
    .news-single {
        padding-top: 0 !important;
    }
    
    .news-single-top-spacer {
        height: 60px !important;
        background: var(--primary-blue) !important;
    }
    
    /* Компактный header отдельной новости */
    .news-single-header {
        padding: 15px 0 10px !important; /* Очень компактно */
    }
    
    .breadcrumb {
        margin-bottom: 8px !important;
        font-size: 0.8rem !important;
    }
    
    .news-single-title {
        font-size: 1.6rem !important; /* Компактнее */
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }
    
    .news-single-meta {
        gap: 10px !important;
        font-size: 0.8rem !important;
    }
    
    .news-single-tags {
        gap: 4px !important;
    }
    
    .news-single-tag {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
        border-radius: 10px !important;
    }
    
    /* Контент отдельной новости */
    .news-single-content {
        padding: 20px 0 !important; /* Компактнее */
    }
    
    /* Убираем отступы у контейнера новости для полноэкранного эффекта */
    .news-single-content .container {
        padding: 0 !important; /* Убираем все отступы контейнера */
        max-width: 100% !important; /* На всю ширину экрана */
    }
    
    .news-single-container {
        margin: 0 !important; /* Убираем боковые отступы для полноэкранного контента */
        border-radius: 0 !important; /* Убираем скругления для полноэкранного эффекта */
    }
    
    .news-content {
        padding: 20px 15px !important; /* Оставляем внутренние отступы для читаемости */
    }
    
    .news-content h1 { font-size: 1.5rem !important; }
    .news-content h2 { font-size: 1.3rem !important; }
    .news-content h3 { font-size: 1.2rem !important; }
    .news-content h4 { font-size: 1.1rem !important; }
    
    .news-content p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
    
    .news-content img {
        border-radius: 8px !important;
        margin: 15px 0 !important;
    }
    
    .news-content iframe {
        border-radius: 8px !important;
        margin: 15px 0 !important;
    }
    
    /* Действия с новостью */
    .news-actions {
        padding: 15px !important;
        background: #f8f9fa !important;
    }
    
    .back-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        border-radius: 20px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Галерея новостей */
    .news-gallery {
        padding: 20px 15px !important;
    }
    
    .news-gallery h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    /* Похожие новости */
    .related-news {
        padding: 30px 0 !important;
    }
    
    .related-news h3 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
        text-align: center;
        padding: 0 15px;
    }
    
    .related-news-carousel-container {
        padding: 0 15px !important;
    }
    
    .related-news-slide {
        flex: 0 0 calc(100% - 10px) !important;
        max-width: calc(100% - 10px) !important;
        width: calc(100% - 10px) !important;
    }
    
    .related-news-carousel {
        gap: 10px !important;
    }
    
    .related-news-card {
        border-radius: 12px !important;
    }
    
    .related-news-content {
        padding: 15px !important;
    }
    
    .related-news-image {
        height: 140px !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .related-news-card h4 {
        font-size: 1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    
    .related-news-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    
    .related-news-card .news-date {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }
    
    .related-news-tags {
        margin: 8px 0 !important;
        gap: 4px !important;
    }
    
    .related-news-tag {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        border-radius: 8px !important;
    }
    
    .related-news-read-more {
        font-size: 0.8rem !important;
    }
    
    /* Lightbox адаптация */
    .lightbox-content {
        max-width: 95% !important;
        max-height: 85% !important;
    }
    
    .lightbox-close {
        top: 10px !important;
        right: 10px !important;
        font-size: 1.5rem !important;
        padding: 5px !important;
    }
    
    .lightbox-caption {
        bottom: -30px !important;
        font-size: 0.9rem !important;
    }

/* ===== КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ ДЛЯ FEATURES НА МАЛЕНЬКИХ ЭКРАНАХ ===== */
@media (max-width: 480px) {
    .features {
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
        align-items: unset !important;
        overflow: visible !important;
        padding: 40px 0 !important;
    }
}

/* Очень маленькие экраны (до 480px ИЛИ очень маленькая высота в landscape) */
@media (max-width: 480px), (orientation: landscape) and (max-height: 450px) {
    /* ===== PRODUCTS СЕКЦИЯ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ ===== */
    .products {
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
        align-items: unset !important;
        overflow: visible !important;
        position: relative !important;
        padding: 30px 0 !important;
        background: var(--light-gray) !important;
    }
    
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        justify-content: center !important;
    }
    
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 15px 12px !important;
        border-radius: 12px !important;
        background: white !important;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1) !important;
        text-align: center !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .product-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        margin: 0 auto 12px !important;
    }
    
    .product-card h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
    }
    
    .product-card p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }
    
    /* ===== НАВИГАЦИЯ НА МАЛЕНЬКИХ ЭКРАНАХ ===== */
    .navbar {
        height: 60px !important;
        background: rgba(17, 29, 53, 0.6) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-container {
        height: 60px !important;
        padding: 0 15px !important;
    }
    
    /* Плавное скрытие/появление navbar на маленьких экранах */
    .navbar.hide-on-scroll {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* ===== ЕДИНЫЙ ФОН ДЛЯ ВСЕХ СЕКЦИЙ НА МАЛЕНЬКИХ ЭКРАНАХ ===== */
    .products,
    .process,
    .process-step-section,
    .companies-section,
    .news-section {
        background: white !important;
    }
    
    /* ===== ПРИНУДИТЕЛЬНОЕ ОТОБРАЖЕНИЕ FEATURES НА МАЛЕНЬКИХ ЭКРАНАХ ===== */
    .features {
        padding: 40px 0 !important;
        position: relative !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        background: var(--primary-blue) !important;
        color: white !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: auto !important;
        overflow: visible !important;
        align-items: unset !important;
    }
    
    .features .section-title {
        color: white !important;
        font-weight: 700 !important;
        font-size: 1.4rem !important;
    }
    
    .features .section-subtitle {
        color: white !important;
        opacity: 0.9 !important;
    }
    

    
    /* ===== ПРИНУДИТЕЛЬНОЕ ОТОБРАЖЕНИЕ ВСЕХ ШАГОВ ПРОЦЕССА НА МАЛЕНЬКИХ ЭКРАНАХ ===== */
    .sticky-container {
        position: relative !important;
        height: auto !important;
        display: block !important;
        background: white !important;
        padding: 15px 0 !important;
        overflow: visible !important;
    }
    
    .sticky-content {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
        margin-bottom: 10px !important;
        z-index: auto !important;
        height: auto !important;
        width: 100% !important;
        background: white !important;
    }
    
    /* Гарантируем отображение всех шагов на маленьких экранах */
    .sticky-content[data-step="1"],
    .sticky-content[data-step="2"],
    .sticky-content[data-step="3"] {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: relative !important;
        height: auto !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
        background: white !important;
        margin-bottom: 10px !important;
    }
    
    .spacer {
        display: none !important;
    }
    
    .sticky-progress {
        display: none !important;
    }
    
    /* Еще более компактный логотип */
    .logo-text {
        font-size: 28px !important;
        font-weight: 900 !important;
    }
    
    .logo-img {
        width: 28px !important;
        height: 28px !important;
    }
    
    .nav-logo {
        gap: 6px !important;
    }
    
    /* ОТКЛЮЧАЕМ ЭФФЕКТ НАХЛЕСТА И НА МАЛЕНЬКИХ ЭКРАНАХ */
    /* На маленьких экранах все секции тоже обычные */
    .hero,
    .products,
    .process,
    .process-step-section,
    .features,
    .companies-section,
    .news-section,
    .cta {
        position: relative !important;
        top: auto !important;
        min-height: auto !important;
        z-index: auto !important;
        box-shadow: none !important;
    }
    
    /* ===== КОНТЕНТ ШАГОВ ПРОЦЕССА НА МАЛЕНЬКИХ ЭКРАНАХ ===== */
    .process-step-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 15px 10px !important;
        text-align: center !important;
    }
    
    .step-info {
        width: 100% !important;
    }
    
    .step-info h3 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
        color: var(--text-dark) !important;
        font-weight: 700 !important;
    }
    
    .step-info p {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        color: var(--text-light) !important;
        line-height: 1.5 !important;
    }
    
    .step-image {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        border-radius: 12px !important;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1) !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* МЕНЬШИЕ РАЗМЕРЫ НОМЕРОВ ШАГОВ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ */
    .step-indicator {
        position: relative !important;
        flex-shrink: 0 !important;
    }
    
    .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        background: var(--accent-orange) !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
    }
    
    .step-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.7rem !important;
        background: var(--secondary-blue) !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        bottom: -2px !important;
        right: -2px !important;
    }
    /* Компактная мобильная карусель похожих новостей */
    .mobile-related-news-container {
        height: 500px !important;
        min-height: 500px !important;
    }
    
    .mobile-related-news-image {
        height: 140px !important;
    }
    
    .mobile-related-news-content {
        padding: 15px !important;
    }
    
    .mobile-related-news-title {
        font-size: 1.1rem !important;
    }
    
    .mobile-related-news-excerpt {
        font-size: 0.9rem !important;
    }
    
    .mobile-related-news-tag {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }
    
    .mobile-related-news-read-more {
        font-size: 0.85rem !important;
        padding: 10px 16px !important;
    }
    /* Фоновое изображение для маленьких экранов */
    .hero::after {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center !important;
        background-attachment: fixed !important;
        opacity: 0.1 !important; /* Минимальная прозрачность для маленьких экранов */
        right: 0 !important;
        top: 0 !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    /* Статистики остаются горизонтальными, но меньше */
    .hero-stats {
        gap: 10px;
    }
    .stat-item {
        min-width: 80px;
        max-width: 100px;
    }
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-text {
        font-size: 0.7rem;
    }
    .hero-buttons .btn {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    .mobile-card {
        padding: 15px;
    }
    .mobile-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .mobile-card-content h3 {
        font-size: 1rem;
    }
    .mobile-card-content p {
        font-size: 0.8rem;
    }
    /* Мобильные карточки товаров ещё меньше */
    .product-card {
        padding: 15px 10px;
    }
    .product-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin: 0 auto 10px;
    }
    .product-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    .product-card p {
        font-size: 0.75rem;
    }
    /* Компактные features на маленьких экранах */
    .features-grid {
        gap: 10px !important;
    }
    .feature-card {
        padding: 12px 8px !important;
        min-height: 140px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        margin: 0 auto 8px !important;
        font-size: 1.1rem !important;
    }
    .feature-card h3 {
        font-size: 0.85rem !important;
        margin: 0 0 4px 0 !important;
        word-break: break-word !important;
        hyphens: auto !important;
        text-align: center !important;
        line-height: 1.15 !important;
        flex: none !important;
        color: white !important;
    }
    .feature-card p {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    /* Компактные новости на маленьких экранах */
    .news-section {
        padding: 20px 0;
    }
    
    /* Минимальные заголовки для маленьких экранов */
    .news-section .section-header {
        margin-bottom: 15px;
    }
    
    .news-section .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 6px !important;
    }
    
    .news-section .section-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }
    
    /* Контейнер новостей - на всю ширину экрана */
    .news-carousel-container {
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw !important;
        padding: 0 !important;
        max-width: none !important;
        height: 650px; /* Увеличили с 500px до 650px */
        overflow: hidden;
    }
    
    /* Мобильный контейнер новостей для маленьких экранов */
    .mobile-news-container {
        height: 650px !important; /* Увеличили с 500px до 650px */
        min-height: 650px !important;
    }
    
    /* Мобильная карточка новости */
    .mobile-news-card {
        height: 100% !important;
    }
    
    /* Компактные отступы для контента - оставляем обычные */
    /* .mobile-news-content {
        padding: 15px !important;
    } */
    
    /* Изображение меньше для маленьких экранов */
    .news-image {
        height: 120px;
    }
    
    .news-content {
        padding: 10px;
        gap: 6px;
    }
    
    .news-date {
        font-size: 0.75rem;
    }
    
    .news-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .news-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2; /* Меньше строк на маленьких экранах */
        line-height: 1.3;
    }
    
    .news-tags {
        gap: 3px;
        margin: 4px 0;
    }
    
    .news-tag {
        font-size: 0.6rem !important;
        padding: 2px 5px !important;
        font-weight: 500 !important;
    }
    
    .news-meta {
        margin-top: 6px;
        padding-top: 4px;
    }
    
    .news-meta .read-more {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    /* Индикатор загрузки */
    .news-loading {
        padding: 30px 15px;
    }
    
    .news-loading i {
        font-size: 1.3rem;
    }
    
    .news-loading span {
        font-size: 0.85rem;
    }
    /* Нормальные шаги процесса на маленьких экранах */
    .timeline-step {
        padding: 15px 15px 10px 15px !important; /* Увеличили отступы */
        gap: 12px;
        transform: none !important;
        opacity: 1 !important;
        display: flex !important; /* Принудительное отображение */
        visibility: visible !important; /* Принудительно видимые */
        flex-direction: row !important;
        align-items: flex-start !important;
    }
    .timeline-step .step-indicator {
        margin-bottom: 0 !important;
    }
    .timeline-step .step-number {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0 !important;
    }
    .timeline-step .step-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.7rem !important;
    }
    .timeline-step .step-content h3 {
        font-size: 1.2rem !important; /* Увеличили с 1.1rem */
        margin-bottom: 6px !important; /* Увеличили с 2px */
    }
    .timeline-step .step-content p {
        font-size: 0.9rem !important; /* Увеличили с 0.85rem */
        line-height: 1.4 !important; /* Увеличили с 1.3 */
        margin: 0 !important;
    }
    /* Меньше отступы секции */
    .process {
        padding: 30px 0 30px 0; /* Добавили нижний отступ */
        display: block !important; /* Принудительно блочное отображение */
        align-items: unset !important; /* Убираем центрирование */
    }
    
    /* ===== КОМПАНИИ НА МАЛЕНЬКИХ ЭКРАНАХ ===== */
    .companies-section {
        padding: 30px 0 20px 0 !important; /* Добавили верхний отступ */
    }
    
    .companies-section .section-header {
        margin-top: 15px !important; /* Дополнительный верхний отступ для заголовка */
    }
    /* Оптимизация для 3-го слайда на маленьких экранах */
    .process-step-section.step-3 {
        padding-bottom: 15px !important;
    }
    .process-steps-timeline {
        gap: 10px !important; /* Увеличили с 4px */
        margin: 20px auto 0 !important; /* Увеличили с 15px */
        display: flex !important; /* Принудительное отображение */
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* ===== НОВОСТНЫЕ СТРАНИЦЫ - МАЛЕНЬКИЕ ЭКРАНЫ ===== */
    /* Еще более компактная версия для маленьких экранов */
    .news-page-top-spacer {
        height: 50px !important;
        background: var(--primary-blue) !important;
    }
    
    .news-single-top-spacer {
        height: 50px !important;
        background: var(--primary-blue) !important;
    }
    
    .news-header {
        padding: 15px 0 !important;
    }
    
    .news-header h1 {
        font-size: 1.5rem !important;
        margin-bottom: 6px !important;
    }
    
    .news-header p {
        font-size: 0.9rem !important;
    }
    
    .news-content {
        padding: 15px 0 !important;
    }
    
    .search-box {
        margin: 0 auto 15px !important;
        padding: 0 10px;
    }
    
    .search-box input {
        padding: 10px 40px 10px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .news-filters {
        margin-bottom: 15px !important;
        padding: 0 10px;
        gap: 8px !important;
        overflow-y: visible !important;
        position: relative;
        z-index: 9999;
    }
    
    .filter-btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    /* Активное состояние кнопок фильтров на маленьких экранах */
    .filter-btn.active {
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    }
    
    .more-tags-btn.active {
        background: var(--accent-orange) !important;
        border-color: var(--accent-orange) !important;
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    }
    
    .news-grid {
        gap: 12px !important;
        padding: 0 10px;
    }
    
    .news-card-content {
        padding: 15px 12px !important;
    }
    
    .news-image {
        height: 240px !important;
    }
    
    .news-title {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    .news-excerpt {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
    }
    
    .news-date {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }
    
    .news-item-tag {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }
    
    /* Отдельная новость на маленьких экранах */
    .news-single-header {
        padding: 12px 0 8px !important;
    }
    
    .breadcrumb {
        font-size: 0.75rem !important;
        margin-bottom: 6px !important;
    }
    
    .news-single-title {
        font-size: 1.4rem !important;
        margin-bottom: 6px !important;
    }
    
    .news-single-meta {
        gap: 8px !important;
        font-size: 0.75rem !important;
    }
    
    .news-single-tag {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }
    
    .news-single-content {
        padding: 15px 0 !important;
    }
    
    /* Убираем отступы у контейнера новости для маленьких экранов */
    .news-single-content .container {
        padding: 0 !important; /* Убираем все отступы контейнера */
        max-width: 100% !important; /* На всю ширину экрана */
    }
    
    .news-single-container {
        margin: 0 !important; /* Убираем боковые отступы для полноэкранного контента */
        border-radius: 0 !important; /* Убираем скругления */
    }
    
    .news-content {
        padding: 15px 12px !important; /* Оставляем минимальные внутренние отступы */
    }
    
    .news-content h1 { font-size: 1.3rem !important; }
    .news-content h2 { font-size: 1.2rem !important; }
    .news-content h3 { font-size: 1.1rem !important; }
    .news-content h4 { font-size: 1rem !important; }
    
    .news-content p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    
    .news-actions {
        padding: 12px !important;
    }
    
    .back-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
    
    .news-gallery {
        padding: 15px 10px !important;
    }
    
    .news-gallery h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
    }
    
    .gallery-grid {
        gap: 8px !important;
    }
    
    .related-news {
        padding: 20px 0 !important;
    }
    
    .related-news h3 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
        padding: 0 10px;
    }
    
    .related-news-carousel-container {
        padding: 0 10px !important;
    }
    
    .related-news-content {
        padding: 12px !important;
    }
    
    .related-news-image {
        height: 120px !important;
    }
    
    .related-news-card h4 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .related-news-card p {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
    }
    
    .related-news-card .news-date {
        font-size: 0.7rem !important;
        margin-bottom: 6px !important;
    }
    
    .related-news-tag {
        font-size: 0.6rem !important;
        padding: 1px 4px !important;
    }
    
    .related-news-read-more {
        font-size: 0.75rem !important;
    }
    
    /* ===== МОБИЛЬНАЯ КАРУСЕЛЬ ПОХОЖИХ НОВОСТЕЙ ===== */
    /* Контейнер мобильной карусели похожих новостей */
    .mobile-related-news-container {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0;
        min-height: 550px;
        height: 550px;
        overflow: hidden;
        margin-top: 20px;
    }
    
    /* Мобильная карточка похожей новости */
    .mobile-related-news-card {
        background: white;
        width: 100%;
        height: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /* Анимация появления карточки */
    .mobile-related-news-card.show {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Анимация исчезновения карточки */
    .mobile-related-news-card.hide-left {
        opacity: 0;
        transform: translateX(-100px) scale(0.95);
    }
    
    .mobile-related-news-card.hide-right {
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }
    
    /* Анимация появления карточки с разных сторон */
    .mobile-related-news-card.enter-from-left {
        opacity: 0;
        transform: translateX(-100px) scale(0.95);
    }
    
    .mobile-related-news-card.enter-from-right {
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }
    
    .mobile-related-news-card.enter-from-left.show,
    .mobile-related-news-card.enter-from-right.show {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    
    /* Изображение похожей новости */
    .mobile-related-news-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }
    
    /* Контент похожей новости */
    .mobile-related-news-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Основная часть контента */
    .mobile-related-news-main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    /* Нижняя часть с кнопкой */
    .mobile-related-news-bottom {
        margin-top: auto;
        padding-top: 15px;
    }
    
    /* Дата */
    .mobile-related-news-date {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 10px;
        font-weight: 500;
    }
    
    /* Заголовок */
    .mobile-related-news-title {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-dark);
        margin-bottom: 12px;
    }
    
    /* Описание */
    .mobile-related-news-excerpt {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #666;
        margin-bottom: 15px;
    }
    
    /* Теги */
    .mobile-related-news-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .mobile-related-news-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
        border-radius: 15px;
        font-weight: 500;
        color: white;
    }
    
    /* Кнопка "Читать далее" */
    .mobile-related-news-read-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: var(--accent-orange);
        color: white;
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        align-self: flex-start;
    }
    
    .mobile-related-news-read-more:hover,
    .mobile-related-news-read-more:active {
        background: #e55a00;
        transform: translateY(-1px);
    }
    
    /* Мобильные контролы карусели похожих новостей */
    .mobile-related-carousel-controls {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        padding: 0 15px;
    }
    
    /* Кнопки карусели */
    .mobile-related-carousel-btn {
        width: 45px;
        height: 45px;
        border: none;
        border-radius: 50%;
        background: var(--accent-orange);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        box-shadow: 0 3px 10px rgba(245, 131, 25, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .mobile-related-carousel-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }
    
    .mobile-related-carousel-btn:active::before {
        width: 60px;
        height: 60px;
    }
    
    .mobile-related-carousel-btn:hover,
    .mobile-related-carousel-btn:active {
        background: #e55a00;
        transform: scale(0.95);
        box-shadow: 0 5px 15px rgba(245, 131, 25, 0.4);
    }
    
    .mobile-related-carousel-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
        opacity: 0.6;
    }
    
    /* Индикаторы */
    .mobile-related-carousel-indicators {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    
    .mobile-related-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.4s ease;
        border: none;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-related-indicator::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: var(--accent-orange);
        border-radius: 50%;
        transition: width 0.3s ease;
    }
    
    .mobile-related-indicator.active {
        background: var(--accent-orange);
        transform: scale(1.3);
        box-shadow: 0 0 0 3px rgba(245, 131, 25, 0.2);
    }
    
    .mobile-related-indicator.active.auto-progress::before {
        width: 100%;
        transition: width 4s linear;
    }
    
    .mobile-related-indicator:hover {
        background: #bbb;
        transform: scale(1.1);
    }
    
    /* ===== CTA ФОРМА - ЕЩЕ БОЛЕЕ КОМПАКТНАЯ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ ===== */
    .cta-form-container {
        margin: 15px 10px 0 !important;
        padding: 15px 12px !important;
        border-radius: 18px !important;
    }
    
    .cta-form {
        gap: 12px !important; /* Еще меньше */
    }
    
    .cta-form .form-row {
        gap: 10px !important;
    }
    
    .cta-form .form-group {
        gap: 1px !important; /* Минимальное расстояние */
    }
    
    .cta-form .form-group label {
        font-size: 0.85rem !important;
        margin-bottom: 0px !important; /* Нолевой margin */
    }
    
    .cta-form input,
    .cta-form select,
    .cta-form textarea {
        padding: 8px 10px !important;
        font-size: 0.85rem !important;
        border-radius: 10px !important;
        margin-top: 0px !important; /* Нолевой margin-top */
    }
    
    .cta-form textarea {
        min-height: 50px !important; /* Минимальная высота */
    }
    
    .cta-form .submit-btn {
        margin-top: 5px !important;
    }
    
    .cta-form .btn {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
        min-width: 160px !important;
    }
}

/* ===== МОБИЛЬНЫЕ КОНТАКТНЫЕ ЭЛЕМЕНТЫ В МЕНЮ ===== */
/* Скрываем мобильные контакты на больших экранах */
.mobile-contact-item {
    display: none;
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 600px) {
    /* Мобильные контактные элементы в меню */
    .mobile-contact-item {
        display: block;
        margin: 1px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1px;
    }
    
    .mobile-contact-item:first-of-type {
        margin-top: 12px;
    }
    
    /* Убираем полоску для маленьких экранов */
    .nav-link::after {
        display: none !important;
    }
    
    .nav-contact-phone,
    .nav-contact-whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 8px 20px;
        color: white;
        text-decoration: none;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
        margin: 0 20px;
    }
    
    .nav-contact-phone {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-contact-phone:hover,
    .nav-contact-phone:active {
        background: var(--accent-orange);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(245, 131, 25, 0.3);
    }
    
    .nav-contact-whatsapp {
        background: #25D366;
        border: 1px solid #25D366;
    }
    
    .nav-contact-whatsapp:hover,
    .nav-contact-whatsapp:active {
        background: #128C7E;
        border-color: #128C7E;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    
    .nav-contact-phone i,
    .nav-contact-whatsapp i {
        font-size: 16px;
    }
}
/* Ландшафтная ориентация на маленьких экранах */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 70px 0 30px;
    }
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-bottom: 25px;
    }
    .stat-item {
        max-width: 150px;
    }
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }
    .hero-buttons .btn {
        max-width: 200px;
    }
}

/* ===== ИСПРАВЛЕНИЯ Z-INDEX ДЛЯ МОБИЛЬНОЙ ВЕРСИИ НОВОСТЕЙ ===== */
@media (max-width: 768px) {
    /* Мобильная версия новостей */
    .mobile-news-container {
        position: relative;
        z-index: 100 !important;
    }
    
    .mobile-carousel-controls {
        position: relative;
        z-index: 110 !important;
    }
    
    .news-section {
        position: relative;
        z-index: 50 !important;
    }
    
    /* Все элементы карусели */
    .news-carousel-container,
    .news-carousel,
    .news-card,
    .carousel-controls,
    .carousel-indicators {
        position: relative;
        z-index: 80 !important;
    }
    
    /* Индикаторы и кнопки */
    .indicator,
    .mobile-overlay-arrow,
    .mobile-carousel-indicators {
        z-index: 120 !important;
    }
    
    /* Исправления для процесса маркировки на мобильных */
    .timeline-step .step-icon,
    .process-step-section .step-icon,
    .sticky-content .step-icon,
    .step-icon {
        z-index: 200 !important;
        position: absolute !important;
    }
    
    /* Компании - исправление z-index */
    .companies-section {
        z-index: 50 !important;
    }
    
    .company-logo,
    .companies-grid {
        position: relative;
        z-index: 60 !important;
    }
    
    /* Дополнительная защита для оранжевых кругов */
    .timeline-step .step-number,
    .process-step-section .step-number,
    .step-number {
        z-index: 150 !important;
    }
    
    /* Иконки ПОВЕРХ цифр */
    .timeline-step .step-icon,
    .process-step-section .step-icon,
    .sticky-content .step-icon,
    .step-icon {
        z-index: 250 !important;
        position: absolute !important;
    }
    
    /* Процесс маркировки - изоляция слоев */
    .process,
    .process-steps-timeline {
        isolation: isolate !important;
        z-index: 50 !important;
    }
    
    /* Chrome исправления для мобильных */
    .products,
    .product-card,
    .timeline-step {
        contain: layout style paint !important;
        backface-visibility: hidden !important;
        transform: translateZ(0) !important;
        will-change: transform !important;
    }
    
    .product-card::before,
    .timeline-step .step-number,
    .timeline-step .step-icon {
        backface-visibility: hidden !important;
        transform: translateZ(0) !important;
        will-change: transform !important;
    }
    
    /* Фоновые частицы - строгая изоляция */
    #particles-js,
    .hero-background,
    .animated-bg {
        contain: strict !important;
        z-index: 1 !important;
        pointer-events: none !important;
        backface-visibility: hidden !important;
        transform: translateZ(0) !important;
    }
}
