/* ========================================
   ОСНОВНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
======================================== */

/* КРИТИЧЕСКИ ВАЖНО: Принудительное применение темной цветовой схемы */
* {
    color-scheme: dark !important;
    forced-color-adjust: none !important;
    -webkit-color-scheme: dark !important;
    -moz-color-scheme: dark !important;
    -ms-color-scheme: dark !important;
}

/* Дополнительная защита от изменения цветов браузером */
html, body {
    color-scheme: dark !important;
    forced-color-adjust: none !important;
    -webkit-color-scheme: dark !important;
    -moz-color-scheme: dark !important;
    -ms-color-scheme: dark !important;
}

/* Принудительное применение темной темы для всех элементов */
:root {
    color-scheme: dark !important;
    forced-color-adjust: none !important;
    -webkit-color-scheme: dark !important;
    -moz-color-scheme: dark !important;
    -ms-color-scheme: dark !important;
}

/* Дополнительная защита для всех текстовых элементов */
p, h1, h2, h3, h4, h5, h6, span, div, a, li, td, th, button, input, textarea, select {
    color-scheme: dark !important;
    forced-color-adjust: none !important;
    -webkit-color-scheme: dark !important;
    -moz-color-scheme: dark !important;
    -ms-color-scheme: dark !important;
}

/* Принудительное переопределение системных цветов Windows */
@media (prefers-color-scheme: light) {
    * {
        color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
}

@media (prefers-color-scheme: dark) {
    * {
        color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
}

:root {
    --primary-blue: #191970;
    --secondary-blue: #1e1a8a;
    --accent-blue: #191970;
    --dark-blue: #0f0f23;
    --light-blue: #e6e6fa;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #f1f5f9;
    --gray-800: #f8fafc;
    --gray-900: #0f172a;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
    
    /* Адаптивные переменные */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --grid-gap: 40px;
    --border-radius: 16px;
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 1.8rem;
    --font-size-body: 1rem;
    --portfolio-image-size: 600px;
}

/* Адаптивные переменные для разных экранов */
@media (max-width: 1440px) {
    :root {
        --container-max-width: 1140px;
        --font-size-h1: 3.2rem;
        --font-size-h2: 2.3rem;
        --portfolio-image-size: 600px;
    }
    
    .text-section {
    }
}

@media (max-width: 1200px) {
    :root {
        --container-max-width: 960px;
        --section-padding: 60px 0;
        --grid-gap: 30px;
        --font-size-h1: 2.8rem;
        --font-size-h2: 2.1rem;
        --portfolio-image-size: 500px;
    }
    
    .text-section {
    }
}

@media (max-width: 992px) {
    :root {
        --container-max-width: 720px;
        --section-padding: 50px 0;
        --grid-gap: 25px;
        --font-size-h1: 2.5rem;
        --font-size-h2: 1.9rem;
        --portfolio-image-size: 450px;
    }
    
    .text-section {
        text-align: center;
    }
    
    .text-section * {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
    }
}

@media (max-width: 768px) {
    :root {
        --container-max-width: 100%;
        --section-padding: 40px 0;
        --grid-gap: 20px;
        --font-size-h1: 2.2rem;
        --font-size-h2: 1.7rem;
        --font-size-h3: 1.5rem;
        --portfolio-image-size: 350px;
    }
    
    /* КРИТИЧЕСКИ ВАЖНО: Принудительное применение темной темы на мобильных */
    * {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    html, body {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    /* Мобильная навигация - показываем на экране */
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        gap: 3px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
        background: white;
        border-radius: 1px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    .mobile-menu {
        display: block;
    }
    
    .navigation {
        padding: 15px 10px;
    }
    
    .nav-container {
        padding: 0;
    }
    
    /* ПРИНУДИТЕЛЬНАЯ ФИКСАЦИЯ ИКОНОК СОЦИАЛЬНЫХ СЕТЕЙ - ЗАБЛОКИРОВАНО! */
    .social-links,
    div.social-links,
    .image-section .social-links,
    .hero-section .social-links {
        margin-left: 0px !important;
        margin-right: 0px !important;
        position: relative !important;
        left: 105px !important;
        top: 0px !important;
        transform: none !important;
        justify-content: flex-start !important;
        align-items: center !important;
        display: flex !important;
        gap: 16px !important;
        z-index: 10 !important;
    }
    
    /* Принудительное центрирование всех текстовых элементов */
    .text-section,
    .text-section *,
    .text-section h1,
    .text-section h2,
    .text-section h3,
    .text-section p,
    .text-section span,
    .text-section div,
    .text-section strong,
    .text-section em {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-content-card {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }
    
    .text-section {
        text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .text-section * {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
    }
    
    .text-section h1,
    .text-section h2,
    .text-section h3,
    .text-section p,
    .text-section span,
    .text-section div {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Дополнительные правила для всех текстовых элементов */
    .text-section p,
    .text-section span,
    .text-section div,
    .text-section strong,
    .text-section em {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        display: block !important;
        margin: 0 auto !important;
    }
    
    .hero-title {
        margin-bottom: 30px !important;
        line-height: 1.1 !important;
        text-align: left !important;
        font-size: 2.8rem !important;
    }
    
    .gradient-title {
        font-size: 2.8rem !important;
        margin-bottom: 30px !important;
        text-align: left !important;
    }
    
    .description-text {
        font-size: 1.6rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
        text-align: left !important;
        color: #ffffff !important;
    }
    
    .cta-button {
        margin: 35px auto !important;
        padding: 20px 10px !important;
        font-size: 1.2rem !important;
        border-radius: 12px !important;
    }
    
    /* Адаптация секций */
    .section-title {
        font-size: 2.2rem !important;
        margin-bottom: 35px !important;
        text-align: center !important;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .advantage-card {
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .advantage-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }
    
    .advantage-card p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: justify !important; /* Выравнивание по ширине */
    }
}

@media (max-width: 576px) {
    :root {
        --container-max-width: 100%;
        --section-padding: 30px 0;
        --grid-gap: 15px;
        --font-size-h1: 2rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.3rem;
        --font-size-body: 0.9rem;
        --portfolio-image-size: 300px;
    }
    
    /* Навигация для маленьких экранов */
    .navigation {
        padding: 1px 12px;
    }
    
    .nav-menu .nav-link {
        font-size: 0.35rem;
        padding: 2px 1px;
    }
    
    /* ПРИНУДИТЕЛЬНАЯ ФИКСАЦИЯ ИКОНОК СОЦИАЛЬНЫХ СЕТЕЙ - ЗАБЛОКИРОВАНО! */
    .social-links,
    div.social-links,
    .image-section .social-links,
    .hero-section .social-links {
        margin-left: 0px !important;
        margin-right: 0px !important;
        position: relative !important;
        left: 105px !important;
        top: 0px !important;
        transform: none !important;
        justify-content: flex-start !important;
        align-items: center !important;
        display: flex !important;
        gap: 16px !important;
        z-index: 10 !important;
    }
    
    .hero-content-card {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 10px !important;
        width: 100% !important;
        max-width: none !important;
    }
    
    .text-section {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .text-section * {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
    }
    
    .text-section h1,
    .text-section h2,
    .text-section h3,
    .text-section p,
    .text-section span,
    .text-section div {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Дополнительные правила для всех текстовых элементов */
    .text-section p,
    .text-section span,
    .text-section div,
    .text-section strong,
    .text-section em {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        display: block !important;
        margin: 0 auto !important;
    }
    
    .hero-title {
        margin-bottom: 20px !important;
        line-height: 1.1 !important;
        text-align: left !important;
        font-size: 2.2rem !important;
    }
    
    .gradient-title {
        font-size: 1.4rem !important;
        margin-bottom: 18px !important;
        text-align: left !important;
    }
    
    .description-text {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
        text-align: left !important;
        color: #ffffff !important;
    }
    
    .cta-button {
        margin: 20px auto !important;
        padding: 12px 25px !important;
        font-size: 0.9rem !important;
    }
    
    /* Адаптация секций для 576px */
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .advantage-card {
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .advantage-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    
    .advantage-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        text-align: justify !important; /* Выравнивание по ширине */
    }
    
    /* Адаптация workflow */
    .workflow-steps-new {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .workflow-step-new {
        padding: 10px !important;
    }
    
    .step-content-new h3 {
        font-size: 1.3rem !important;
    }
    
    .step-content-new p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: auto !important;
        color: #ffffff !important;
    }
    
    /* ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ПО ШИРИНЕ ДЛЯ 576px */
    .workflow-steps-new .workflow-step-new .step-content-new p,
    .workflow-step-new .step-content-new p,
    .workflow-step-new p {
        text-align: justify !important;
    }
    
    .text-section p {
        margin-bottom: 15px !important;
        line-height: 1.4 !important;
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
    }
    
    .cta-button {
        margin: 20px auto !important;
        display: block !important;
        width: fit-content !important;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 25px 0;
        --font-size-h1: 1.8rem;
        --font-size-h2: 1.4rem;
        --font-size-h3: 1.2rem;
        --portfolio-image-size: 280px;
    }
    
    /* КРИТИЧЕСКИ ВАЖНО: Принудительное применение темной темы на очень маленьких экранах */
    * {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    html, body {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    /* Навигация для очень маленьких экранов */
    .navigation {
        padding: 1px 10px;
    }
    
    .nav-menu .nav-link {
        font-size: 0.3rem;
        padding: 1px 1px;
    }
    
    /* ИСПРАВЛЕНИЕ: Убираем конфликтующие стили для мобилки */
    .nav-menu .nav-link.call-btn,
    nav .nav-menu .nav-link.call-btn,
    .navigation .nav-menu .nav-link.call-btn,
    *[class*="nav-link"].call-btn {
        /* Стили перенесены в мобильный медиа-запрос */
        max-height: 40px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        aspect-ratio: 1/1 !important;
    }
    
    /* ПРИНУДИТЕЛЬНАЯ ФИКСАЦИЯ ИКОНОК СОЦИАЛЬНЫХ СЕТЕЙ - ЗАБЛОКИРОВАНО! */
    .social-links,
    div.social-links,
    .image-section .social-links,
    .hero-section .social-links {
        margin-left: 0px !important;
        margin-right: 0px !important;
        position: relative !important;
        left: 105px !important;
        top: 0px !important;
        transform: none !important;
        justify-content: flex-start !important;
        align-items: center !important;
        display: flex !important;
        gap: 16px !important;
        z-index: 10 !important;
    }
    
    .hero-content-card {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 15px !important;
        width: 100% !important;
        max-width: none !important;
    }
    
    .text-section {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .text-section * {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
    }
    
    .text-section h1,
    .text-section h2,
    .text-section h3,
    .text-section p,
    .text-section span,
    .text-section div {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Дополнительные правила для всех текстовых элементов */
    .text-section p,
    .text-section span,
    .text-section div,
    .text-section strong,
    .text-section em {
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        display: block !important;
        margin: 0 auto !important;
    }
    
    .hero-title {
        margin-bottom: 25px !important;
        line-height: 1.1 !important;
        text-align: center !important;
        font-size: 2.2rem !important;
    }
    
    .gradient-title {
        font-size: 2.4rem !important;
        margin-bottom: 25px !important;
        text-align: left !important;
    }
    
    .description-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
        color: #ffffff !important;
    }
    
    .cta-button {
        margin: 25px auto !important;
        padding: 16px 30px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }
    
    /* Адаптация секций для 480px */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    
    .advantage-card {
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }
    
    .advantage-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        text-align: justify !important; /* Выравнивание по ширине */
    }
    
    /* Адаптация workflow для 480px */
    .workflow-steps-new {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .workflow-step-new {
        padding: 15px !important;
    }
    
    .step-content-new h3 {
        font-size: 1.2rem !important;
    }
    
    .step-content-new p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: auto !important;
        color: #ffffff !important;
    }
    
    /* ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ПО ШИРИНЕ ДЛЯ 480px */
    .workflow-steps-new .workflow-step-new .step-content-new p,
    .workflow-step-new .step-content-new p,
    .workflow-step-new p {
        text-align: justify !important;
    }
    
    /* Адаптация форм */
    .form-row {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .form-input,
    .form-textarea {
        width: 100% !important;
        padding: 16px 10px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
    }
    
    .form-input:focus,
    .form-textarea:focus {
        border-color: #191970 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        outline: none !important;
    }
    
    .form-input::placeholder,
    .form-textarea::placeholder {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    .submit-btn {
        width: 100% !important;
        padding: 18px 25px !important;
        font-size: 1.1rem !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #191970, #8b5cf6) !important;
        border: none !important;
        color: white !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
    }
    
    .submit-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
    }
    
    .text-section p {
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
        text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
    }
    
    .cta-button {
        margin: 15px auto !important;
        display: block !important;
        width: fit-content !important;
        padding: 12px 10px !important;
    }
}

/* Ультраширокие экраны */
/* ОПТИМИЗАЦИЯ ДЛЯ 1920x1080 */
@media (min-width: 1920px) and (max-width: 1920px) {
    :root {
        --container-max-width: 1200px;
        --section-padding: 80px 0;
        --grid-gap: 35px;
        --font-size-h1: 3.5rem;
        --font-size-h2: 2.2rem;
        --font-size-h3: 1.6rem;
        --font-size-body: 1rem;
        --portfolio-image-size: 600px;
    }
    
    /* Оптимизация для блоков преимуществ на 1920x1080 */
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 35px !important;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* Оптимизация карточек преимуществ */
    .advantage-card.modern-card {
        min-height: 280px;
    }
    
    /* ИКОНКА ЧЕТКО ПО ЦЕНТРУ БЛОКА */
    .advantage-icon {
        width: 65px !important;
        height: 65px !important;
        margin-top: -30px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative !important;
    }
    
    /* ЗАГОЛОВКИ ПОД ИКОНКОЙ И ПО ЦЕНТРУ */
    section#about .advantages-grid .advantage-card.modern-card h3 {
        font-size: 22px !important;
        margin: -20px auto 18px auto !important; /* Увеличиваем отступ от иконки */
        text-align: center !important;
        width: 100% !important;
    }
    
    /* ТЕКСТ ПОД ЗАГОЛОВКОМ И ПО ЛЕВОМУ КРАЮ */
    section#about .advantages-grid .advantage-card.modern-card p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin: 18px auto 0 auto !important;
        text-align: justify !important; /* Выравнивание по ширине */
        width: 100% !important;
    }
}

@media (min-width: 1921px) {
    :root {
        --container-max-width: 1400px;
        --section-padding: 100px 0;
        --grid-gap: 50px;
        --font-size-h1: 4rem;
        --font-size-h2: 3rem;
        --portfolio-image-size: 800px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Кнопка переключения навигации (скрыта по умолчанию на десктопе) */
.nav-toggle-btn {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #475569 !important;
    background-color: #1a1a1a !important;
    background: #1a1a1a !important;
    overflow-x: hidden;
    padding-top: 80px !important; /* Отступ сверху для фиксированной навигации */
}

/* Принудительное исправление фона для всех экранов */
html, body {
    background-color: #1a1a1a !important;
    background: #1a1a1a !important;
}

/* Дополнительная фиксация фона для маленьких экранов */
@media (max-width: 768px) {
    html, body {
        background-color: #1a1a1a !important;
        background: #1a1a1a !important;
    }
}

@media (max-width: 480px) {
    html, body {
        background-color: #1a1a1a !important;
        background: #1a1a1a !important;
    }
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========================================
   НАВИГАЦИЯ
======================================== */

/* ========================================
   КРАСИВАЯ НАВИГАЦИЯ
======================================== */

.navigation {
    position: fixed !important; /* Фиксируем навигацию к верху экрана */
    top: 0 !important; /* Прижимаем к самому верху */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0f172a !important; /* Тот же фон что и у основного сайта */
    padding: 16px 0 !important;
    z-index: 9999 !important; /* Высокий приоритет над всеми элементами */
    box-shadow: none !important; /* Убираем тень для полного слияния */
    backdrop-filter: none !important; /* Убираем размытие */
    transition: all 0.3s ease !important; /* Плавные переходы */
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none !important;
    color: white !important;
    font-weight: 500 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, #87ceeb, #5f9ea0) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.nav-link:hover {
    background: linear-gradient(135deg, #add8e6, #87ceeb) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
}

.call-btn {
    background: linear-gradient(135deg, #90ee90, #98fb98) !important;
    border: 2px solid #90ee90 !important;
    color: #333 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(144, 238, 144, 0.4) !important;
}

.call-btn:hover {
    background: linear-gradient(135deg, #98fb98, #90ee90) !important;
    border: 2px solid #98fb98 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(144, 238, 144, 0.6) !important;
}

/* СТАРЫЕ СТИЛИ УДАЛЕНЫ */







@keyframes slideDown {
    to { transform: translateY(0); }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 40px;
    max-width: 100%;
    margin: 0;
    padding-right: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: #f8fafc;
}

.nav-icon {
    color: #191970;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

/* УДАЛЕНЫ ДУБЛИРОВАННЫЕ СТИЛИ */

.contact-link {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px;
    margin-right: 0;
}

.contact-link:hover {
    background: linear-gradient(135deg, #138496, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
}

/* Выпадающий блок контактов */
.contact-dropdown-container {
    position: relative;
}

.contact-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff !important;
    border: 2px solid #191970;
    border-radius: 12px;
    padding: 20px;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 12px 0;
    color: #000000 !important;
    font-size: 16px;
    font-weight: 500;
}

.contact-item i {
    margin-right: 12px;
    color: #191970;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: #000000 !important;
    font-weight: 600;
    white-space: nowrap !important;
}

.working-hours-text {
    color: #000000 !important;
}

.working-hours-text div {
    color: #000000 !important;
}

.contact-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-dropdown .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.contact-dropdown .contact-item:last-child {
    margin-bottom: 0;
}

.contact-dropdown .contact-item i {
    color: #191970;
    font-size: 16px;
    width: 20px;
}

.contact-dropdown .contact-item a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-dropdown .contact-item a:hover {
    color: #191970;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 30px;
}

.mobile-menu-content .nav-link {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.mobile-menu-content .nav-link:hover {
    color: #191970;
    transform: translateY(-2px);
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: #191970;
}

.mobile-menu-toggle:hover {
    background: #f1f5f9;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.mobile-menu-content .nav-link {
    display: block;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 20px 0;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-content .nav-link:hover {
    color: #191970;
    transform: translateX(10px);
}

.mobile-menu-content .nav-link:last-child {
    border-bottom: none;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: #191970;
}

.mobile-contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-contact-info .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    color: white;
}

.mobile-contact-info .contact-item i {
    color: #191970;
    font-size: 1.2rem;
    width: 20px;
}

.mobile-contact-info .contact-item a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.mobile-contact-info .contact-item a:hover {
    color: #191970;
}

.mobile-contact-info .contact-item span {
    color: white;
    font-size: 1.1rem;
}

/* ========================================
   БЛОК 1: ГЕРОИЧЕСКИЙ РАЗДЕЛ
======================================== */

.hero-section {
    min-height: 100vh;
    padding: 60px 0;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.main-logo-section {
    text-align: center;
    margin-bottom: 60px;
}

.main-logo {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    color: #f8fafc;
    opacity: 0;
    transform: translateY(30px);
}

.main-logo.animated-entrance {
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-logo i {
    font-size: 56px;
    color: #191970;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.main-logo h1 {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-content-card {
    background: #1a1a1a;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    overflow: visible; /* Позволяем интегрированному блоку выходить за границы */
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 700px;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    position: relative !important; /* Важно для absolute позиционирования изображения */
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.text-section {
    padding: 60px 80px;
    background: #1a1a1a;
    text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, #191970 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: visible; /* Позволяем выходить за границы для интегрированного блока */
}


.hero-title {
    font-size: var(--font-size-h1);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 40px;
    margin-top: -20px;
    color: #f8fafc;
    text-align: left;
}

.highlight-text {
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-company {
    margin-bottom: 40px;
}

.about-company h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    text-align: center;
}

.about-company p {
    font-size: 14px !important; /* Уменьшаем размер шрифта */
    line-height: 1.7;
    color: #475569 !important;
    text-align: center;
}

.services-info {
    margin-bottom: 40px;
}

.services-info h4 {
    font-size: 22px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    margin-bottom: 12px;
    color: #475569 !important;
    transition: var(--transition);
}

.services-list li:hover {
    color: #191970;
    transform: translateX(8px);
}

.services-list i {
    color: #191970;
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.tech-info {
    margin-bottom: 50px;
}

.tech-info h4 {
    font-size: 22px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 16px;
}

.tech-info p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569 !important;
}

.cta-button {
    background: linear-gradient(135deg, #90ee90, #98fb98) !important;
    color: #333 !important;
    border: 2px solid #90ee90 !important;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(144, 238, 144, 0.4) !important;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(144, 238, 144, 0.6) !important;
    background: linear-gradient(135deg, #98fb98, #90ee90) !important;
    border-color: #98fb98 !important;
    animation: buttonPulse 0.3s ease-out !important;
}

.cta-button i {
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Новые стили для улучшенного дизайна */
.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
}

.about-company {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.description-text {
    font-size: 24px !important;
    line-height: 1.7;
    color: #ffffff !important;
    margin: 0;
    text-align: left !important;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.disclaimer-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-style: italic;
}

/* ОСНОВНОЙ СЕЛЕКТОР СОЦИАЛЬНЫХ ССЫЛОК - ЗАФИКСИРОВАН! */
.social-links,
div.social-links,
.image-section > .social-links {
    display: flex !important;
    gap: 16px !important;
    margin-top: -5px !important;
    margin-bottom: 20px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    position: relative !important;
    left: 105px !important;
    right: 0px !important;
    top: 0px !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    align-items: center !important;
    z-index: 10 !important;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Стили только для героического блока */
.social-links .telegram:hover {
    background: #0088cc !important;
    border-color: #0088cc !important;
}

.social-links .whatsapp:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
}

.social-links .vk:hover {
    background: #4680c2 !important;
    border-color: #4680c2 !important;
}

.social-links .youtube:hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* ========================================
   ИНТЕГРИРОВАННЫЙ БЛОК С ИЗОБРАЖЕНИЕМ ПРИНТЕРА
======================================== */

.integrated-printer-block {
    position: absolute;
    top: 50%;
    left: -320px; /* Выносим в левую часть на стык */
    transform: translateY(-50%);
    width: 640px;
    height: 560px;
    z-index: 10;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(45deg, #191970, #4169e1, #191970, #1e1a8a, #191970);
    background-size: 300% 300%;
    animation: midnightBlueGradient 5s ease infinite;
    box-shadow: 0 20px 40px rgba(25, 25, 112, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.integrated-printer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1) saturate(1.1);
    display: block;
}

.integrated-printer-image:hover {
    transform: scale(1.08) rotateY(5deg) rotateX(2deg);
    filter: brightness(1.15) saturate(1.3);
}

.integrated-printer-block:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 30px 60px rgba(25, 25, 112, 0.6);
    animation: midnightBlueGradient 2s ease infinite;
}

/* ========================================
   БЛОК 2: О НАС И ПРЕИМУЩЕСТВА
======================================== */

.about-section {
    padding: 50px 0 120px 0; /* Установлено 50px сверху */
    background: #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 0px; /* Убираем отступ снизу, так как он уже есть у .section-title */
}

/* Уменьшаем отступы заголовков секций для мобильных */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px !important;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 30px !important;
    }
}

.section-number {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #191970;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: white;
    margin-bottom: 50px; /* Установлено 50px */
    background: linear-gradient(135deg, #191970, var(--primary-blue));
    padding: 16px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(25, 25, 112, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(-5px);
    display: inline-block;
    text-align: center;
}

/* Анимированный фон для заголовка */
.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.section-title:hover::before {
    left: 100%;
}

.section-title:hover {
    background: linear-gradient(135deg, var(--primary-blue), #191970);
    color: white;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(25, 25, 112, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    margin-bottom: 100px;
}

.info-card,
.advantage-card {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    /* ВЕРТИКАЛЬНЫЙ LAYOUT: ИКОНКА СВЕРХУ, ТЕКСТ СНИЗУ */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Центрируем все элементы */
    gap: 0px !important;
    padding: 40px 20px 25px 20px !important; /* Добавляем отступ сверху для иконок */
    text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */ /* Центрируем текст */
    max-width: 100%; /* Ограничиваем ширину */
    width: 100%; /* Занимаем всю доступную ширину */
}

.info-card:hover,
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

/* УДАЛЕНО: Дублирующиеся стили для иконок */

/* ПРИНУДИТЕЛЬНОЕ ПЕРЕОПРЕДЕЛЕНИЕ ПОЗИЦИОНИРОВАНИЯ ИКОНОК */
.advantages-grid .advantage-card .advantage-icon,
section#about .advantages-grid .advantage-card .advantage-icon,
.advantage-card.modern-card .advantage-icon {
    margin-top: 0px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: translateY(0) !important;
}

/* ПРИНУДИТЕЛЬНОЕ ЦЕНТРИРОВАНИЕ ЗАГОЛОВКОВ И ВЫРАВНИВАНИЕ ТЕКСТА ПО ШИРИНЕ */
.advantage-card.modern-card h3 {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0px !important; /* Убираем отступ от иконки */
    text-align: center !important;
}

.advantage-card.modern-card p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: justify !important; /* Выравнивание по ширине */
    text-justify: inter-word !important; /* Выравнивание по ширине */
    word-spacing: normal !important; /* Нормальные промежутки между словами */
}

/* УДАЛЕНО: Дублирующиеся правила для ПК */

.info-icon i,
.advantage-icon i {
    font-size: 24px;
    color: white;
}

.info-card h3,
.advantage-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    margin-top: 0 !important; /* Убираем верхний отступ */
    visibility: visible !important;
    opacity: 1 !important;
}

.info-card p,
.advantage-card p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */ /* Возвращаем как было */
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important; /* Убираем лишние отступы */
}

/* Контейнер для текста в горизонтальном layout */
.advantage-card .text-content,
.info-card .text-content {
    flex: 1; /* Занимает оставшееся место */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Выравнивание по верху */
    align-items: center; /* Выравнивание по центру */
    text-align: center; /* Заголовки по центру */
    margin-left: auto !important; /* Центрируем */
    margin-right: auto !important; /* Центрируем */
    padding: 20px !important; /* Добавляем отступы внутри блока */
}

/* Выравнивание текста по ширине внутри центрированного контейнера */
.advantage-card .text-content p {
    text-align: justify !important; /* Выравнивание по ширине */
    text-justify: inter-word !important; /* Выравнивание по ширине */
    word-spacing: normal !important; /* Нормальные промежутки между словами */
    width: 100% !important; /* Занимает всю ширину контейнера */
}

/* ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ПО ШИРИНЕ ДЛЯ ВСЕХ ТЕКСТОВЫХ ЭЛЕМЕНТОВ */
.advantage-card .text-content p,
.advantage-card.modern-card p,
.advantage-text {
    text-align: justify !important; /* Выравнивание по ширине */
    text-justify: inter-word !important; /* Выравнивание по ширине */
    word-spacing: normal !important; /* Нормальные промежутки между словами */
    hyphens: auto !important; /* Автоматические переносы слов */
}

/* СВЕРХ-СПЕЦИФИЧНОЕ ПРАВИЛО ДЛЯ ПРИНУДИТЕЛЬНОГО ВЫРАВНИВАНИЯ ПО ШИРИНЕ */
body section#about .container .advantages-grid .advantage-card.modern-card .text-content p,
body section#about .container .advantages-grid .advantage-card.modern-card p,
body .advantage-card.modern-card .advantage-text {
    text-align: justify !important; /* Выравнивание по ширине */
    text-justify: inter-word !important; /* Выравнивание по ширине */
    word-spacing: normal !important; /* Нормальные промежутки между словами */
    hyphens: auto !important; /* Автоматические переносы слов */
    direction: ltr !important; /* Направление текста слева направо */
}

.process-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.process-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #191970, var(--dark-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: clockPulse 3s ease-in-out infinite;
}

.process-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
}

.process-icon:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.process-icon i {
    font-size: 32px;
    color: white;
    animation: clockRotate 4s linear infinite;
    transition: all 0.3s ease;
}

.process-icon:hover {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 20px 40px rgba(25, 25, 112, 0.3);
    background: linear-gradient(135deg, var(--primary-blue), #191970);
}

.process-icon:hover i {
    animation-duration: 1s;
    transform: scale(1.2);
}

/* Анимации для иконки часов */
@keyframes clockPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(25, 25, 112, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(25, 25, 112, 0);
    }
}

@keyframes clockRotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.process-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
    text-align: center;
}

.process-info p {
    font-size: 18px;
    line-height: 1.7;
    color: #475569 !important;
    text-align: center;
}

.process-image {
    text-align: center;
}

.process-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.process-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Интерактивно-анимационная рамка для принтера в блоке "Проект в оптимальные сроки" */
.animated-printer-frame {
    position: relative;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(45deg, #191970, #4169e1, #191970, #1e1a8a, #191970);
    background-size: 300% 300%;
    animation: midnightBlueGradient 5s ease infinite;
    box-shadow: 0 20px 40px rgba(25, 25, 112, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: inline-block;
}

.animated-printer-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(25, 25, 112, 0.6);
    animation: midnightBlueGradient 2s ease infinite;
}

.animated-printer-frame .process-img {
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1) saturate(1.1);
    display: block;
}

.animated-printer-frame:hover .process-img {
    transform: scale(1.08) rotateY(5deg) rotateX(2deg);
    filter: brightness(1.15) saturate(1.3);
}

/* ========================================
   БЛОК 3: ТЕХНОЛОГИИ
======================================== */

.technologies-section {
    padding: 120px 0;
    background: #1a1a1a;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    max-width: 1400px;
    margin: 0 auto;
}

.tech-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.tech-image {
    height: 250px;
    overflow: hidden;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tech-card:hover .tech-image img {
    transform: scale(1.1);
}

.tech-content {
    padding: 30px;
}

.tech-name {
    font-size: 32px;
    font-weight: 700;
    color: #191970;
    margin-bottom: 20px;
    text-align: center;
}

.tech-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.tech-detail {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
}

.materials-btn {
    cursor: pointer;
    color: #191970 !important;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.materials-btn:hover {
    color: var(--dark-blue) !important;
}

.materials-btn i {
    transition: var(--transition);
}

.materials-btn.active i {
    transform: rotate(180deg);
}

.tech-description {
    font-size: 16px;
    color: #475569 !important;
    text-align: center;
    font-style: italic;
}

.materials-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #ffffff;
}

.materials-dropdown.active {
    max-height: 300px;
}

.materials-list {
    padding: 20px 30px;
}

.material-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 16px;
    color: #f1f5f9;
}

.material-item:last-child {
    border-bottom: none;
}

/* ========================================
   БЛОК 4: КАК МЫ РАБОТАЕМ
======================================== */

.workflow-section {
    padding: 50px 0 120px 0; /* Установлено 50px сверху */
    background: #1a1a1a;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 100px;
    overflow-x: auto;
    padding: 20px 0;
}

.workflow-step {
    flex: 0 0 280px;
    min-width: 280px;
}

.workflow-step {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.workflow-step p {
    text-align: center;
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #191970);
    border-radius: 2px;
}

.workflow-step:hover {
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.workflow-step {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
}

.workflow-step p {
    text-align: center;
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #191970);
    border-radius: 2px;
}

.workflow-step:hover {
    background: #ffffff;
    transform: translateY(-8px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #191970);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.workflow-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.step-icon i {
    font-size: 32px;
    color: white;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    text-align: center;
}

.step-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569 !important;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 16px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #191970, var(--dark-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 32px;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #191970;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: #333333;
    font-weight: 600;
}

/* ========================================
   БЛОК 5: ФОРМА ЗАЯВКИ
======================================== */

.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue), #191970);
    color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.additional-info {
    margin-top: 40px;
}

.special-offer {
    background: rgba(255, 255, 255, 0.95);
    color: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(25, 25, 112, 0.1), transparent);
    transition: left 0.6s ease;
}

.special-offer:hover::before {
    left: 100%;
}

.special-offer:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #191970, var(--primary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(25, 25, 112, 0.3);
}

.info-icon i {
    font-size: 20px;
    color: white;
}

.info-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #191970;
    margin-bottom: 15px;
    text-align: center;
}

.info-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #f1f5f9;
    font-weight: 500;
}

.info-features i {
    color: #28a745;
    font-size: 16px;
}

.enhanced-submit {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border: 2px solid #28a745 !important;
    position: relative;
    overflow: hidden;
}

.enhanced-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.enhanced-submit:hover::before {
    width: 300px;
    height: 300px;
}

.enhanced-submit:hover {
    background: linear-gradient(135deg, #20c997, #28a745) !important;
    border-color: #20c997 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4) !important;
}

/* Дополнительный сервис */
.additional-service {
    margin-top: 30px;
    text-align: center;
}

.service-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.service-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2d5a2d, #1a6b5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.service-icon i {
    font-size: 18px;
    color: white;
}

.service-text {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Адаптивность для формы заявки */
@media (max-width: 1024px) {
    .contact-content {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .special-offer {
        padding: 25px 20px;
    }
    
    .info-content h3 {
        font-size: 20px;
    }
    
    .info-features {
        gap: 8px;
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.contact-header p {
    font-size: 20px;
    opacity: 0.9;
}

.order-form {
    max-width: 1000px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-row:last-child {
    grid-template-columns: 2fr 1fr 1fr;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: white;
    font-size: 16px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.file-upload {
    position: relative;
    overflow: hidden;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 30px 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.file-label:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.file-label i {
    font-size: 32px;
}

.file-label span {
    font-size: 16px;
    font-weight: 600;
}

.file-label small {
    font-size: 14px;
    opacity: 0.8;
}

#fileInput {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.submit-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.submit-btn:hover {
    background: white;
    color: #191970;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   БЛОК 6: ПОРТФОЛИО
======================================== */

.portfolio-section {
    padding: 50px 0 120px 0; /* Установлено 50px сверху */
    background: #1a1a1a;
}

.portfolio-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
    .portfolio-track {
        transition: transform 0.3s ease-out;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .portfolio-item {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.portfolio-item {
    flex: 0 0 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 20px;
    position: relative;
    padding: 0;
}

.portfolio-item img {
    width: var(--portfolio-image-size);
    height: var(--portfolio-image-size);
    max-width: 90vw;
    max-height: 90vw;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

/* Адаптивность для изображения pervblok */
.portfolio-item img[src*="pervblok"] {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 400px !important;
    object-fit: contain !important;
}

/* Адаптивность для больших экранов */
@media (min-width: 1400px) {
    .portfolio-item img[src*="pervblok"] {
        max-height: 500px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Адаптивность для средних экранов */
@media (max-width: 1200px) and (min-width: 1001px) {
    .portfolio-item img[src*="pervblok"] {
        max-height: 350px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Адаптивность для маленьких экранов */
@media (max-width: 1000px) and (min-width: 801px) {
    .portfolio-item img[src*="pervblok"] {
        max-height: 300px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 800px) and (min-width: 601px) {
    .portfolio-item img[src*="pervblok"] {
        max-height: 250px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .portfolio-item img[src*="pervblok"] {
        max-height: 200px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .portfolio-item img[src*="pervblok"] {
        max-height: 150px !important;
        width: 100% !important;
        height: auto !important;
    }
}

.portfolio-item:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.portfolio-caption {
    margin-top: 20px;
    font-size: 26px;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-caption {
    color: white;
    transform: translateY(-2px);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    z-index: 100;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.slider-btn i {
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: #191970;
}

/* ========================================
   БЛОК 7: FAQ
======================================== */

.faq-section {
    padding: 50px 0 120px 0; /* Установлено 50px сверху */
    background: #0f0f0f; /* Графитно-черный фон блока */
}

/* Новые стили для FAQ */
.faq-container-new {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-new {
    background: #b0b0b0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    overflow: hidden;
}

.faq-item-new:hover {
    box-shadow: var(--shadow-lg);
    border-color: #191970;
    transform: translateY(-2px);
}

.faq-question-new {
    width: 100%;
    background: none;
    border: none;
    padding: 30px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: #000000 !important; /* Черный цвет текста вопросов */
    transition: all 0.3s ease;
    position: relative;
}

.faq-question-new::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: var(--gray-200);
    transition: all 0.3s ease;
}

.faq-item-new.active .faq-question-new::before {
    background: #191970;
}

.faq-item-new.active .faq-question-new {
    color: black !important; /* При активном состоянии цвет остается черным */
}

.faq-question-new:hover {
    background: #a0a0a0 !important; /* Делаем фон при наведении еще темнее */
    color: black !important; /* При наведении тоже черный */
}

.faq-question-new span {
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
}

.faq-icon-new {
    font-size: 18px;
    color: #191970;
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.faq-item-new.active .faq-icon-new {
    transform: rotate(45deg);
    color: var(--primary-blue);
}

.faq-answer-new {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #b0b0b0;
}

.faq-item-new.active .faq-answer-new {
    max-height: 300px;
    padding: 0 30px 30px 30px;
}

.faq-answer-new p {
    font-size: 16px;
    line-height: 1.7;
    color: #000000 !important;
    margin: 0;
    padding-top: 20px;
    text-align: left;
    animation: fadeInText 0.5s ease 0.2s both;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для FAQ */
@media (max-width: 768px) {
    .faq-container-new {
        max-width: 100%;
        gap: 15px;
    }
    
    .faq-question-new {
        padding: 20px;
        font-size: 18px;
        color: black !important; /* На мобильных тоже черный */
        text-align: left;
    }
    
    .faq-question-new::before {
        left: 20px;
        right: 20px;
    }
    
    .faq-item-new.active .faq-answer-new {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer-new p {
        font-size: 15px;
        padding-top: 15px;
        text-align: left;
        color: #000000 !important;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #f8fafc;
    transition: var(--transition);
}

.faq-question:hover {
    background: #ffffff;
}

.faq-icon {
    color: #191970;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    background: #ffffff !important;
    border-top: 1px solid var(--gray-200);
    animation: fadeIn 0.3s ease-out;
    border-radius: 0 0 16px 16px;
}

.faq-item.active .faq-answer {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    padding: 24px;
    color: #475569 !important;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

/* Дополнительные стили для видимости текста FAQ */
.faq-answer * {
    color: #475569 !important;
}

.faq-item.active {
    background: white;
}

/* ========================================
   ФУТЕР
======================================== */

.footer {
    background: white;
    color: #f8fafc;
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray-200);
}

.footer h3 {
    color: #f8fafc;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    padding-left: 60px;
    align-items: start;
}

.footer-logo {
    display: none;
}

.footer-logo i {
    display: none;
}

/* footer-info больше не используется */


.footer .contact-item,
.footer-content .contact-item,
.footer-section .contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #f8fafc !important;
    margin-bottom: 4px !important;
    padding: 1px 0 !important;
}


.footer .contact-item i,
.footer-content .contact-item i,
.footer-section .contact-item i {
    color: #191970 !important;
    width: 20px !important;
    font-size: 18px !important;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 60px;
}


.footer-social h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc;
    text-align: center;
}

.social-icons-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    width: 55px !important;
    height: 55px !important;
    background: #f1f5f9 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-decoration: none !important;
    /* Включаем плавные переходы */
    transition: all 0.3s ease !important;
    transform: scale(1) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    font-size: 22px !important;
}

/* Hover эффекты для социальных ссылок в футере */
.social-link:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

/* Цвета для разных социальных сетей при наведении */
.social-link[href*="t.me"]:hover,
.social-link.telegram-link:hover {
    background: #0088cc !important;
}

.social-link[href*="wa.me"]:hover,
.social-link.whatsapp-link:hover {
    background: #25d366 !important;
}

.social-link[href*="vk.com"]:hover,
.social-link.vk-link:hover {
    background: #4680c2 !important;
}

.social-link[href*="youtube.com"]:hover,
.social-link[href*="youtu.be"]:hover,
.social-link.youtube-link:hover {
    background: #ff0000 !important;
}

/* Отключаем максимально специфичные стили для футера */
/*
.footer .social-link.vk-link:hover {
    background: #4680c2 !important;
}

.footer .social-link.youtube-link:hover {
    background: #ff0000 !important;
}

.footer .social-link.telegram-link:hover {
    background: #0088cc !important;
}

.footer .social-link.whatsapp-link:hover {
    background: #25d366 !important;
}
*/

/* ОТКЛЮЧАЕМ ВСЕ HOVER СТИЛИ ДЛЯ ЕДИНООБРАЗИЯ */
/*
footer.footer .footer-social .social-icons-row .social-link.vk-link:hover {
    background: #4680c2 !important;
    border-color: #4680c2 !important;
}

footer.footer .footer-social .social-icons-row .social-link.youtube-link:hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
}

footer.footer .footer-social .social-icons-row .social-link.telegram-link:hover {
    background: #0088cc !important;
    border-color: #0088cc !important;
}

footer.footer .footer-social .social-icons-row .social-link.whatsapp-link:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
}
*/

/* ОТКЛЮЧАЕМ ВСЕ ЭКСТРЕННЫЕ СТИЛИ */
/*
html body .footer .footer-social .social-icons-row a.social-link.vk-link:hover {
    background: #4680c2 !important;
    background-color: #4680c2 !important;
    border-color: #4680c2 !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a.social-link.youtube-link:hover {
    background: #ff0000 !important;
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a.social-link.telegram-link:hover {
    background: #0088cc !important;
    background-color: #0088cc !important;
    border-color: #0088cc !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a.social-link.whatsapp-link:hover {
    background: #25d366 !important;
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    transform: translateY(-4px) !important;
}

/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ПО HREF АТРИБУТАМ */
html body .footer .footer-social .social-icons-row a[href*="vk.com"]:hover,
html body .footer .footer-social .social-icons-row a[href*="vk.ru"]:hover {
    background: #4680c2 !important;
    background-color: #4680c2 !important;
    border-color: #4680c2 !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a[href*="youtube.com"]:hover,
html body .footer .footer-social .social-icons-row a[href*="youtu.be"]:hover {
    background: #ff0000 !important;
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a[href*="t.me"]:hover {
    background: #0088cc !important;
    background-color: #0088cc !important;
    border-color: #0088cc !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a[href*="wa.me"]:hover {
    background: #25d366 !important;
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    transform: translateY(-4px) !important;
}

/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КОМБИНАЦИИ social-link + platform (без -link) */
html body .footer .footer-social .social-icons-row a.social-link.vk:hover {
    background: #4680c2 !important;
    background-color: #4680c2 !important;
    border-color: #4680c2 !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a.social-link.youtube:hover {
    background: #ff0000 !important;
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a.social-link.telegram:hover {
    background: #0088cc !important;
    background-color: #0088cc !important;
    border-color: #0088cc !important;
    transform: translateY(-4px) !important;
}

html body .footer .footer-social .social-icons-row a.social-link.whatsapp:hover {
    background: #25d366 !important;
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    transform: translateY(-4px) !important;
}

/* УНИВЕРСАЛЬНЫЕ СТИЛИ ДЛЯ ВСЕХ ВОЗМОЖНЫХ КОМБИНАЦИЙ */
.footer .social-icons-row a:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* VK - все возможные варианты */
.footer .social-icons-row a[class*="vk"]:hover,
.footer .social-icons-row a[href*="vk.com"]:hover,
.footer .social-icons-row a[href*="vk.ru"]:hover {
    background: #4680c2 !important;
    background-color: #4680c2 !important;
    border-color: #4680c2 !important;
}

/* YouTube - все возможные варианты */
.footer .social-icons-row a[class*="youtube"]:hover,
.footer .social-icons-row a[href*="youtube.com"]:hover,
.footer .social-icons-row a[href*="youtu.be"]:hover {
    background: #ff0000 !important;
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* Telegram - все возможные варианты */
.footer .social-icons-row a[class*="telegram"]:hover,
.footer .social-icons-row a[href*="t.me"]:hover {
    background: #0088cc !important;
    background-color: #0088cc !important;
    border-color: #0088cc !important;
}

/* WhatsApp - все возможные варианты */
.footer .social-icons-row a[class*="whatsapp"]:hover,
.footer .social-icons-row a[href*="wa.me"]:hover {
    background: #25d366 !important;
    background-color: #25d366 !important;
    border-color: #25d366 !important;
}

/* ЭКСТРЕННЫЕ СТИЛИ - ПОСЛЕДНЯЯ НАДЕЖДА */
footer .footer-social .social-icons-row a:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* VK - экстренные стили */
footer .footer-social .social-icons-row a[class*="vk"]:hover {
    background: #4680c2 !important;
    background-color: #4680c2 !important;
    border-color: #4680c2 !important;
}

/* YouTube - экстренные стили */
footer .footer-social .social-icons-row a[class*="youtube"]:hover {
    background: #ff0000 !important;
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* Telegram - экстренные стили */
footer .footer-social .social-icons-row a[class*="telegram"]:hover {
    background: #0088cc !important;
    background-color: #0088cc !important;
    border-color: #0088cc !important;
}

/* WhatsApp - экстренные стили */
footer .footer-social .social-icons-row a[class*="whatsapp"]:hover {
    background: #25d366 !important;
    background-color: #25d366 !important;
    border-color: #25d366 !important;
}
*/

/* МАКСИМАЛЬНО АГРЕССИВНОЕ ОТКЛЮЧЕНИЕ ВСЕХ HOVER ЭФФЕКТОВ */
.footer .social-icons-row .social-link:hover,
.footer .social-icons-row a:hover,
.footer-social .social-icons-row .social-link:hover,
.footer-social .social-icons-row a:hover,
footer .footer-social .social-icons-row .social-link:hover,
footer .footer-social .social-icons-row a:hover,
html body .footer .footer-social .social-icons-row .social-link:hover,
html body .footer .footer-social .social-icons-row a:hover,
.footer .social-icons-row a[class*="vk"]:hover,
.footer .social-icons-row a[class*="youtube"]:hover,
.footer .social-icons-row a[class*="telegram"]:hover,
.footer .social-icons-row a[class*="whatsapp"]:hover,
.footer .social-icons-row a[href*="vk"]:hover,
.footer .social-icons-row a[href*="youtube"]:hover,
.footer .social-icons-row a[href*="t.me"]:hover,
.footer .social-icons-row a[href*="wa.me"]:hover {
    background: #374151 !important;
    background-color: #374151 !important;
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    color: white !important;
    opacity: 1 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
    color: #475569 !important;
}

/* ========================================
   МОДАЛЬНОЕ ОКНО
======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray-400);
    transition: var(--transition);
}

.close:hover {
    color: #f8fafc;
}

.modal-contacts {
    margin-top: 20px;
}

.modal-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-contact:last-child {
    border-bottom: none;
}

.modal-contact i {
    color: #191970;
    width: 24px;
}

/* ========================================
   АДАПТИВНОСТЬ
======================================== */

@media (max-width: 1200px) {
    .hero-content-card {
        grid-template-columns: 1fr;
    }
    
    /* На планшетах интегрированный блок центрируем */
    .integrated-printer-block {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 473px;
        height: 405px;
    }
    
    .integrated-printer-block:hover {
        transform: translate(-50%, -50%) scale(1.02);
    }

    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .workflow-step {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .process-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Уменьшаем отступ body для мобильных */
    body {
        padding-top: 70px !important;
    }
    
    /* Адаптация фиксированной навигации для мобильных */
    .navigation {
        padding: 12px 0 !important;
    }
    
    .main-logo h1 {
        font-size: 48px;
    }
    
    .main-logo i {
        font-size: 40px;
    }
    
    .main-logo-section {
        padding-left: 20px;
    }
    
    /* Заголовки адаптируются через CSS переменные */
    
    /* Text-section стили перенесены в верхние медиа-запросы */
    
    .image-section {
        padding: 30px;
        justify-content: center;
    }
    

    
    /* Заголовки адаптируются через CSS переменные */
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row:last-child {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        flex-direction: row !important;
    }
    
    .footer-info {
        display: flex !important;
        flex-direction: row !important;
        gap: 30px !important;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-logo h1 {
        font-size: 36px;
    }
    
    .main-logo i {
        font-size: 32px;
    }
    
    .main-logo-section {
        padding-left: 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .text-section {
    }
    

    
    .section-title {
        font-size: 28px;
    }
    
    .contact-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Анимации появления элементов при скролле */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Дополнительные современные эффекты */
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    transition: left 0.5s;
}

.tech-card:hover::before {
    left: 100%;
}

.advantage-card {
    position: relative;
    overflow: hidden;
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.advantage-card:hover::after {
    width: 300px;
    height: 300px;
}



/* Интерактивные кнопки */
.cta-button, .submit-btn {
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    background-image: linear-gradient(45deg, #191970, var(--dark-blue), #191970, var(--dark-blue));
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Улучшенные состояния наведения */
.social-btn {
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.social-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Плавное появление навигации */
.nav-link {
    position: relative !important;
}


.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Стили для новых кнопок навигации */
.order-btn {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    margin-right: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.order-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
}

.call-btn {
    background: linear-gradient(135deg, #90ee90, #98fb98) !important;
    color: #333 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    margin-left: auto !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.call-btn:hover {
    background: linear-gradient(135deg, #98fb98, #90ee90) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(144, 238, 144, 0.6) !important;
}

/* Стили для модального окна заказа звонка */
.call-modal {
    max-width: 450px;
    padding: 25px 30px;
    text-align: center;
    background: white !important;
    color: #333 !important;
}

.call-modal .modal-header {
    margin-bottom: 20px;
}

.call-modal .modal-header h3 {
    color: #333 !important;
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
}

.call-modal .modal-header i {
    color: #191970 !important;
    font-size: 32px;
    margin-bottom: 10px;
}

.call-form {
    margin-top: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.call-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #000000;
}

.call-input:focus {
    outline: none;
    border-color: #191970;
    box-shadow: 0 0 0 3px rgba(25, 25, 112, 0.1);
}

.call-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #90ee90, #98fb98) !important;
    color: #333 !important;
    border: 2px solid #90ee90 !important;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(144, 238, 144, 0.4) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.call-submit-btn:hover {
    background: linear-gradient(135deg, #98fb98, #90ee90) !important;
    border-color: #98fb98 !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(144, 238, 144, 0.6) !important;
}

/* Стили для VK кнопки */
.vk:hover {
    background: #4680c2 !important;
    border-color: #4680c2 !important;
}

/* Стили для location-text */
.location-text {
    font-size: 0.6em;
    color: #f8fafc;
    font-weight: 400;
}

/* Стили для модернизированных карточек преимуществ */
.modern-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* ПРИНУДИТЕЛЬНАЯ ВИДИМОСТЬ ТЕКСТА В КАРТОЧКАХ ПРЕИМУЩЕСТВ */
.modern-card h3,
.advantage-card.modern-card h3 {
    color: #1a202c !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    margin-top: 0px !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    z-index: 10 !important;
}

.modern-card p,
.advantage-card.modern-card p {
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: justify !important; /* Выравнивание по ширине */
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    z-index: 10 !important;
    background: transparent !important;
}

/* ДОПОЛНИТЕЛЬНАЯ ПРИНУДИТЕЛЬНАЯ ВИДИМОСТЬ ДЛЯ ВСЕХ ЭЛЕМЕНТОВ В КАРТОЧКАХ */
.advantages-grid .advantage-card h3,
.advantages-grid .modern-card h3,
div.advantage-card.modern-card h3 {
    color: #000000 !important;
    text-shadow: none !important;
    background-color: transparent !important;
    background: none !important;
    text-align: center !important;
}

.advantages-grid .advantage-card p,
.advantages-grid .modern-card p,
div.advantage-card.modern-card p {
    color: #475569 !important;
    text-shadow: none !important;
    background-color: transparent !important;
    background: none !important;
    text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
}

/* ПРИНУДИТЕЛЬНОЕ ПЕРЕОПРЕДЕЛЕНИЕ ЛЮБЫХ СКРЫВАЮЩИХ СТИЛЕЙ */
.advantage-card *:not(.advantage-icon):not(i) {
    visibility: visible !important;
    opacity: 1 !important;
    display: initial !important;
    color: #000000 !important;
}

/* ПРИНУДИТЕЛЬНАЯ ВИДИМОСТЬ ДЛЯ ИКОНОК - ЧЕТКО ПО ЦЕНТРУ БЛОКА */
.advantage-icon,
.advantage-icon.modern-icon {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    z-index: 999 !important;
    position: relative !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    border-radius: 16px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.advantage-icon i,
.advantage-icon.modern-icon i {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    color: white !important;
    font-size: 28px !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* СВЕРХ-СПЕЦИФИЧНЫЕ СТИЛИ ДЛЯ КАРТОЧЕК ПРЕИМУЩЕСТВ */
/* СВЕРХ-СПЕЦИФИЧНЫЕ СТИЛИ ДЛЯ КАРТОЧЕК ПРЕИМУЩЕСТВ */
section#about .advantages-grid .advantage-card.modern-card h3 {
    color: #000000 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    text-align: center !important;
    margin: -38px auto 16px auto !important;
    margin-left: auto !important;
    padding: 0 !important;
    background: none !important;
    text-shadow: none !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
}

section#about .advantages-grid .advantage-card.modern-card p {
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: justify !important; /* Выравнивание по ширине */
    margin: 20px auto 0 auto !important;
    margin-left: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    background: none !important;
    text-shadow: none !important;
    word-wrap: break-word !important;
}

/* МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ ДЛЯ ПРИНУДИТЕЛЬНОЙ ВИДИМОСТИ */
/* МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ ДЛЯ ПРИНУДИТЕЛЬНОЙ ВИДИМОСТИ */
body section#about .container .advantages-grid .advantage-card.modern-card h3 {
    color: #000000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: relative !important;
    z-index: 999 !important;
    text-align: center !important;
    margin-top: 0px !important;
    margin-left: auto !important;
}

/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ТЕКСТА */
body section#about .container .advantages-grid .advantage-card.modern-card p {
    text-align: justify !important; /* Выравнивание по ширине */
    margin: 20px auto 0 auto !important;
    margin-left: auto !important;
    display: block !important;
    max-width: 100% !important;
}

/* МОБИЛЬНЫЕ СТИЛИ ДЛЯ ПРЕИМУЩЕСТВ - ПРИНУДИТЕЛЬНО */
@media screen and (max-width: 768px) {
    /* Оптимизация карточек на мобильных */
    .advantage-card.modern-card {
        min-height: auto !important; /* Убираем фиксированную высоту */
        padding: 30px 20px 25px 20px !important; /* Добавляем отступ сверху для иконок на мобилке */
    }
    
    /* ИКОНКИ ЧЕТКО ПО ЦЕНТРУ БЛОКА НА МОБИЛКЕ */
    .advantage-icon.modern-icon {
        margin-top: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* ПРИНУДИТЕЛЬНОЕ ПЕРЕОПРЕДЕЛЕНИЕ ДЛЯ МОБИЛЬНЫХ */
    .advantages-grid .advantage-card .advantage-icon,
    section#about .advantages-grid .advantage-card .advantage-icon,
    .advantage-card.modern-card .advantage-icon {
        margin-top: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* ВОССТАНАВЛИВАЕМ ОСНОВНЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ */
    /* УДАЛЕНО: Дублирующиеся стили для мобильных иконок */
    
    section#about .advantages-grid .advantage-card.modern-card h3 {
        text-align: center !important; /* Центрируем заголовки на мобильных */
        margin: -18px auto 12px auto !important; /* Увеличиваем отступ от иконки */
        margin-left: 0 !important; /* Убираем сдвиг вправо */
    }
    
    section#about .advantages-grid .advantage-card.modern-card p {
        text-align: justify !important; /* Выравнивание по ширине */
        margin: 15px auto 0 auto !important; /* Уменьшаем отступ сверху */
        margin-left: auto !important; /* Центрируем текст */
        padding: 0 !important;
    }
    
    /* ТОЧНОЕ ЦЕНТРИРОВАНИЕ ОТНОСИТЕЛЬНО ИКОНКИ НА МОБИЛКЕ */
    .advantage-card.modern-card h3 {
        text-align: center !important;
        margin: 0 auto !important;
        margin-top: -15px !important; /* Увеличиваем отступ от иконки */
        margin-bottom: 15px !important;
        width: 100% !important;
    }
    
    .advantage-card.modern-card p {
        text-align: justify !important; /* Выравнивание по ширине */
        margin: 0 auto !important;
        margin-top: 0 !important;
        padding: 0 15px !important;
        width: 100% !important;
    }
    
    /* СВЕРХ-СПЕЦИФИЧНЫЕ СТИЛИ */
    section#about .advantages-grid .advantage-card.modern-card .text-content h3 {
        text-align: center !important;
        margin: 0 auto !important;
        margin-top: -15px !important; /* Увеличиваем отступ от иконки */
        margin-bottom: 15px !important;
        width: 100% !important;
    }
    
    section#about .advantages-grid .advantage-card.modern-card .text-content p {
        text-align: justify !important; /* Выравнивание по ширине */
        margin: 0 auto !important;
        margin-top: 0 !important;
        padding: 0 15px !important;
        width: 100% !important;
    }
    
    /* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ */
    body section#about .container .advantages-grid .advantage-card.modern-card .text-content h3 {
        text-align: center !important;
        margin: 0 auto !important;
        margin-top: -15px !important; /* Увеличиваем отступ от иконки */
        margin-bottom: 15px !important;
        width: 100% !important;
    }
    
    body section#about .container .advantages-grid .advantage-card.modern-card .text-content p {
        text-align: justify !important; /* Выравнивание по ширине */
        margin: 0 auto !important;
        margin-top: 0 !important;
        padding: 0 15px !important;
        width: 100% !important;
    }
    
    /* Блок "Индивидуальность" - стили только для десктопа */
    @media (min-width: 769px) {
        .advantage-card.modern-card:nth-child(3) h3 {
            margin-left: auto !important;
            text-align: center !important;
        }
    }
}

body section#about .container .advantages-grid .advantage-card.modern-card p {
    color: #000000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: relative !important;
    z-index: 999 !important;
    text-align: justify !important; /* Выравнивание по ширине */
        text-justify: inter-word !important; /* Выравнивание по ширине */
}

/* УБИРАЕМ ПСЕВДОЭЛЕМЕНТЫ, КОТОРЫЕ МОГУТ ПЕРЕКРЫВАТЬ ТЕКСТ */
.advantage-card.modern-card::after,
.advantage-card.modern-card::before {
    z-index: 1 !important;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #191970, var(--primary-blue), #191970);
    transition: left 0.5s ease;
}

.modern-card:hover::before {
    left: 0;
}

.modern-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(25, 25, 112, 0.15);
    border-color: #191970;
}

.modern-icon {
    position: relative;
    background: linear-gradient(135deg, #191970, var(--primary-blue));
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
    margin-left: auto !important; /* Иконка по центру */
    margin-right: auto !important; /* Иконка по центру */
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 25, 112, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(25, 25, 112, 0);
    }
}

.modern-card:hover .modern-icon {
    transform: scale(1.15) rotateY(180deg);
    background: linear-gradient(135deg, var(--primary-blue), #191970);
}

.animated-icon {
    transition: all 0.3s ease;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.modern-card:hover .animated-icon {
    animation: rotate-icon 0.6s ease-in-out;
}

@keyframes rotate-icon {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg); }
}

/* ПРИНУДИТЕЛЬНОЕ ПРАВИЛО ДЛЯ БОЛЬШИХ ЭКРАНОВ */
@media (min-width: 1201px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: var(--grid-gap) !important;
    }
}

/* ПРИНУДИТЕЛЬНОЕ ПРАВИЛО ДЛЯ СРЕДНИХ ЭКРАНОВ */
@media (min-width: 769px) and (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

/* ПРИНУДИТЕЛЬНОЕ ПРАВИЛО ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Стили для нового блока услуг */
.services-section-new {
    padding: 50px 0 120px 0; /* Установлено 50px сверху */
    background: #1a1a1a;
}

/* Уменьшаем отступы для мобильных */
@media (max-width: 768px) {
    .services-section-new {
        padding: 40px 0 !important;
    }
}

@media (max-width: 480px) {
    .services-section-new {
        padding: 30px 0 !important;
    }
}

/* Уменьшаем отступы для всех секций на мобильных */
@media (max-width: 768px) {
    .about-section,
    .technologies-section,
    .workflow-section,
    .contact-section,
    .portfolio-section,
    .faq-section {
        padding: 40px 0 !important;
    }
}

@media (max-width: 480px) {
    .about-section,
    .technologies-section,
    .workflow-section,
    .contact-section,
    .portfolio-section,
    .faq-section {
        padding: 30px 0 !important;
    }
}

/* Дополнительные стили для портфолио на мобильных */
@media (max-width: 768px) {
    .portfolio-item {
        height: 400px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .portfolio-slider {
        margin: 20px auto !important;
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        height: 300px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .portfolio-slider {
        margin: 15px auto !important;
    }
    
    .portfolio-caption {
        margin-top: 10px !important;
        font-size: 18px !important;
    }
    
    /* Центрируем кнопку в первом блоке на очень маленьких экранах */
    .hero-section .cta-button {
        display: block !important;
        margin: 15px auto !important;
        text-align: center !important;
        width: fit-content !important;
    }
    
    /* Дополнительные стили для очень маленьких экранов */
    .footer-section .contact-item {
        font-size: 13px !important;
        margin: 2px 0 !important;
    }
    
    .footer-social .social-icons-row {
        gap: 12px !important;
    }
}

@media (max-width: 768px) {
    .portfolio-caption {
        margin-top: 15px !important;
        font-size: 20px !important;
    }
    
    /* Центрируем кнопку в первом блоке на мобильных */
    .hero-section .cta-button {
        display: block !important;
        margin: 20px auto !important;
        text-align: center !important;
        width: fit-content !important;
    }
    
    /* МОБИЛЬНАЯ ВЕРСИЯ ФУТЕРА - ПРИНУДИТЕЛЬНОЕ ПЕРЕЗАПИСАНИЕ */
    html body .footer .footer-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 0 !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        grid-template-columns: none !important;
    }
    
    html body .footer .footer-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    
    html body .footer .footer-section .contact-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 3px 0 !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    
    html body .footer .footer-social {
        margin-top: 15px !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    html body .footer .footer-social .social-icons-row {
        display: flex !important;
        gap: 15px !important;
        justify-content: center !important;
    }
}

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-new {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #475569;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(25, 25, 112, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card-new:hover::before {
    left: 100%;
}

.service-card-new:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(25, 25, 112, 0.2);
    border-color: #191970;
}

.service-image-new {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.service-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.service-card-new:hover .service-image-new img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.service-content-new {
    padding: 25px 15px 30px 15px;
}

@media (max-width: 768px) {
    .service-content-new {
        padding: 25px 15px 15px 15px !important;
    }
}

.service-name-new {
    font-size: 28px;
    font-weight: 700;
    color: #f8fafc !important; /* Возвращаем нормальный цвет */
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card-new:hover .service-name-new {
    color: white !important; /* При наведении белый */
    transform: scale(1.05);
}

.service-expandable {
    text-align: center;
}

.expand-btn {
    background: linear-gradient(135deg, #191970, var(--primary-blue));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    min-width: 200px;
}

.expand-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue), #191970);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 25, 112, 0.3);
}

.expand-btn i {
    transition: transform 0.3s ease;
}

.expand-btn.active i {
    transform: rotate(180deg);
}

.service-details {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #191970;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, margin-top 0.3s ease-out;
}

.service-details.open {
    max-height: 500px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
}



.service-details p {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    text-align: center;
}

/* Адаптивность для новых услуг */
@media (max-width: 1024px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-grid-new {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card-new {
        margin-bottom: 20px;
    }
    
    .service-image-new {
        height: 220px;
    }
    
    .service-content-new {
        max-width: 100%;
    }
    
    .service-name-new {
        font-size: 24px;
        color: #f8fafc !important; /* Возвращаем нормальный цвет */
    }
    
    .expand-btn {
        font-size: 14px;
        padding: 10px 20px;
        min-width: 180px;
    }
    
}

/* УДАЛЕНО: Дублирующиеся стили для advantage-title и advantage-text */

/* ВОССТАНОВЛЕННЫЕ СТИЛИ ДЛЯ КАРТОЧЕК ПРЕИМУЩЕСТВ */

/* МАКСИМАЛЬНО СПЕЦИФИЧНЫЕ СТИЛИ ДЛЯ МОБИЛКИ - В КОНЦЕ ФАЙЛА */
@media screen and (max-width: 768px) {
    /* УДАЛЕНО: Дублирующиеся правила центрирования на мобилке */
    
    /* ЗАГОЛОВКИ ПО ЦЕНТРУ, ТЕКСТ ПО ШИРИНЕ НА МОБИЛКЕ */
    .advantage-title {
        text-align: center !important;
        margin-top: -15px !important; /* Увеличиваем отступ от иконки на мобилке */
        margin-bottom: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .advantage-text {
        text-align: justify !important; /* Выравнивание по ширине */
        margin-top: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 15px !important;
        width: 100% !important;
    }
}

/* Стили для нового workflow с прогресс-барами */
.workflow-steps-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    margin-bottom: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-step-new {
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    padding: 20px;
}

.workflow-step-new p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.workflow-step-new:hover {
    transform: translateY(-10px);
}

.step-progress-circle {
    position: relative;
    margin-bottom: 30px;
}

.progress-ring {
    position: relative;
    display: inline-block;
}

.progress-svg {
    transform: rotate(-90deg);
    transition: all 0.5s ease;
}

.progress-bar {
    transition: stroke-dashoffset 2s ease-in-out;
    animation: progressAnimation 3s ease-in-out infinite;
}

@keyframes progressAnimation {
    0%, 100% {
        stroke-width: 8;
    }
    50% {
        stroke-width: 12;
    }
}

.step-icon-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #191970, var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(25, 25, 112, 0.3);
    transition: all 0.3s ease;
}

.step-icon-new i {
    font-size: 24px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.workflow-step-new:hover .step-icon-new {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(25, 25, 112, 0.4);
}

.step-number {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 700;
    color: white !important; /* Белый цвет для цифр с процентами */
}

.step-content-new {
    max-width: 250px;
    margin: 0 auto;
}

.step-content-new h3 {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 15px;
    text-align: center;
}

.step-content-new p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff !important;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* Адаптивность для workflow */
@media (max-width: 1024px) {
    .workflow-steps-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .workflow-steps-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-content-new h3 {
        font-size: 18px;
    }
    
    .step-content-new p {
        font-size: 15px;
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: auto !important;
        color: #ffffff !important;
    }
}

/* ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ ЗАГОЛОВКОВ "КАК МЫ РАБОТАЕМ" */
@media (max-width: 768px) {
    .workflow-steps-new .workflow-step-new .step-content-new h3 {
        font-size: 1.0rem !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        text-align: center !important;
        margin: 0 auto 15px auto !important;
        display: block !important;
    }
    
    /* ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ПО ШИРИНЕ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ */
    .workflow-steps-new .workflow-step-new .step-content-new p,
    .workflow-step-new .step-content-new p,
    .workflow-step-new p {
        text-align: justify !important;
    }
}

/* Улучшенные стили для статистики */
.modern-stat {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.modern-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #191970, var(--primary-blue));
    transition: left 0.5s ease;
}

.modern-stat:hover::before {
    left: 0;
}

.modern-stat:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(25, 25, 112, 0.15);
    border-color: #191970;
}

.modern-stat .stat-icon {
    background: linear-gradient(135deg, #191970, var(--primary-blue));
    animation: pulse-stat 3s infinite;
}

@keyframes pulse-stat {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 25, 112, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(25, 25, 112, 0);
    }
}

.modern-stat:hover .stat-icon {
    transform: scale(1.15);
    background: linear-gradient(135deg, var(--primary-blue), #191970);
}

/* Анимированные счетчики */
.stat-number {
    background: linear-gradient(45deg, #191970, var(--dark-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Плавные переходы для всех интерактивных элементов */
button,
a,
.card,
.tech-card,
.info-card,
.advantage-card {
    transition: var(--transition);
}

/* Эффекты при загрузке страницы */
.page-loaded .hero-section * {
    animation-delay: 0.2s;
}

.page-loaded .about-section * {
    animation-delay: 0.4s;
}

.page-loaded .technologies-section * {
    animation-delay: 0.6s;
}

/* Уведомление о скролле */
.scroll-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #191970, var(--dark-blue));
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 350px;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-content i {
    font-size: 20px;
    color: white;
}

.notification-content span {
    font-size: 14px;
    font-weight: 500;
}

.close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0.8;
}

.close-notification:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Tooltip для материалов */
.materials-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #191970;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
}

.materials-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip-header {
    background: linear-gradient(135deg, #191970, var(--dark-blue));
    color: white;
    padding: 16px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.tooltip-content {
    padding: 16px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.tooltip-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: #f1f5f9;
    transition: var(--transition);
}

.tooltip-item:last-child {
    border-bottom: none;
}

.tooltip-item:hover {
    color: #191970;
    padding-left: 8px;
}



/* Пользовательские уведомления */
.custom-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    border-left: 4px solid #191970;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 400px;
    padding: 20px 24px;
    transform: translateX(450px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification.info {
    border-left-color: #191970;
}

.custom-notification.success {
    border-left-color: #10b981;
}

.custom-notification .notification-content {
    flex: 1;
    color: #f8fafc;
}

.custom-notification .notification-content i {
    color: #191970;
    margin-right: 8px;
}

.custom-notification .close-notification {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition);
}

.custom-notification .close-notification:hover {
    color: #f8fafc;
    background: #f1f5f9;
}

/* Стили для выравнивания текста в первом блоке */
.hero-text-content {
    max-width: 60%;
    text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
    padding-right: 40px;
}

.about-company {
    text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
    margin-bottom: 30px;
}

.about-company h3 {
    text-align: center;
    margin-bottom: 15px;
}

/* Стили для переливающегося заголовка */
.gradient-title {
    color: #191970; /* Fallback цвет для браузеров без поддержки градиентов */
    background: linear-gradient(45deg, #0066ff, #4169e1, #00bfff, #1e90ff, #0066ff);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease-in-out infinite;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 102, 255, 0.2);
    filter: contrast(1.2) brightness(1.1);
    text-align: left !important;
    font-size: 28px !important;
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Стили для центрированного текста */
.centered-text {
    text-align: center;
    font-size: 14px !important; /* Уменьшаем размер шрифта */
}

.about-company p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 14px !important; /* Уменьшаем размер шрифта */
}





/* FAQ стили */
.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #191970;
}

.faq-question {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 24px;
    text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    transition: var(--transition);
}

.faq-question:hover {
    background: #ffffff;
}

.faq-icon {
    font-size: 20px;
    color: #191970;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: #ffffff;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 24px;
}

.faq-answer p {
    margin: 0;
    color: #475569 !important;
    line-height: 1.6;
}

/* Дополнительная адаптивность */
@media (max-width: 480px) {
    .custom-notification {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        transform: translateY(-200px);
    }
    
    .custom-notification.show {
        transform: translateY(0);
    }
    
    .materials-tooltip {
        min-width: 280px;
        left: 0;
        right: 0;
        transform: none;
        margin: 8px 20px 0;
    }
    
    .materials-tooltip.show {
        transform: none;
    }
    

    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-contacts {
    }
    
    .modal-actions {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        display: flex !important;
        flex-direction: row !important;
        gap: 30px !important;
    }
}



/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
    .tech-card::before,
    .advantage-card::after {
        display: none;
    }
    
    /* Адаптивные стили для интегрированного блока */
    .integrated-printer-block {
        width: 350px;
        height: 290px;
        left: 50%;
        top: 52%;
        transform: translate(-50%, -50%);
    }
    
    .integrated-printer-block:hover {
        transform: translate(-50%, -50%) scale(1.02);
    }
    
    .integrated-printer-image:hover {
        transform: scale(1.05) rotateY(2deg); /* Меньше анимации на мобильных */
    }
}

/* Темная тема удалена - используем фиксированные цвета */

/* СУПЕР-ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ НАВИГАЦИИ */
nav.navigation .nav-link:not(.call-btn),
.navigation .nav-link:not(.call-btn),
.nav-link:not(.call-btn),
*[class*="nav-link"]:not(.call-btn) {
    background: linear-gradient(135deg, #4169e1, #6495ed) !important;
    border: 2px solid rgba(65, 105, 225, 0.6) !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

nav.navigation .nav-link:not(.call-btn):hover,
.navigation .nav-link:not(.call-btn):hover,
.nav-link:not(.call-btn):hover,
*[class*="nav-link"]:not(.call-btn):hover {
    background: linear-gradient(135deg, #6495ed, #87ceeb) !important;
    border: 2px solid rgba(100, 149, 237, 0.8) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(100, 149, 237, 0.4) !important;
}

/* СУПЕР-ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ КНОПКИ ЗАКАЗАТЬ ЗВОНОК */
nav.navigation .call-btn,
.navigation .call-btn,
.nav-link.call-btn,
.call-btn,
*[class*="call-btn"],
a.call-btn {
    background: linear-gradient(135deg, #90ee90, #98fb98) !important;
    border: 2px solid #90ee90 !important;
    color: #333 !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(144, 238, 144, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

nav.navigation .call-btn:hover,
.navigation .call-btn:hover,
.nav-link.call-btn:hover,
.call-btn:hover,
*[class*="call-btn"]:hover,
a.call-btn:hover {
    background: linear-gradient(135deg, #98fb98, #90ee90) !important;
    border: 2px solid #98fb98 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(144, 238, 144, 0.6) !important;
}

/* АНИМАЦИИ ДЛЯ КНОПОК */
@keyframes buttonPulse {
    0% {
        transform: translateY(-2px) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.08);
    }
    100% {
        transform: translateY(-2px) scale(1.05);
    }
}

/* Простые анимации для современного вида */
@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(100, 149, 237, 0.5);
    }
}

@keyframes buttonBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Красивые JavaScript анимации */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Анимации для изображения принтера */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes midnightBlueGradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.nav-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Добавляем эффект свечения при активном состоянии */
nav.navigation .nav-link:not(.call-btn):active,
.navigation .nav-link:not(.call-btn):active,
.nav-link:not(.call-btn):active,
*[class*="nav-link"]:not(.call-btn):active {
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.6) !important;
    transform: translateY(-1px) scale(0.98) !important;
}

nav.navigation .call-btn:active,
.navigation .call-btn:active,
.nav-link.call-btn:active,
.call-btn:active,
*[class*="call-btn"]:active,
a.call-btn:active {
    box-shadow: 0 0 20px rgba(144, 238, 144, 0.6) !important;
    transform: translateY(-1px) scale(0.98) !important;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */

/* Логотип в навигации */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* Мобильные устройства */
@media (max-width: 768px) {
    /* Простая мобильная навигация */
    .navigation {
        padding: 2px 20px;
        background: #0f172a !important;
    }
    
    .nav-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        transition: all 0.3s ease;
        max-height: 100px;
        opacity: 1;
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        gap: 2px;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        list-style: none;
        transition: all 0.3s ease;
        max-height: 100px;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 0;
        list-style: none;
        flex: none;
        text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
    }
    
    .nav-menu .nav-link {
        display: block;
        font-size: 0.4rem;
        padding: 2px 1px;
        border-radius: 2px;
        color: white;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.1);
        border: 0.2px solid rgba(255, 255, 255, 0.15);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link.call-btn {
        background: linear-gradient(135deg, #90ee90, #98fb98) !important;
        border: 2px solid #90ee90 !important;
        color: #333 !important;
        padding: 6px 28px !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        box-shadow: 0 4px 15px rgba(144, 238, 144, 0.4) !important;
        position: relative !important;
        overflow: hidden !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    
    
    .nav-menu .nav-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }
    
    .social-links {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .social-btn {
        width: 48px;
        height: 48px;
    }
    
    /* Хедер */
    .hero-section {
        padding: 40px 15px;
        min-height: 70vh;
        text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
        background: #1a1a1a !important; /* Принудительный темный фон для мобилки */
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .about-company h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .about-company p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 15px 30px;
        margin-bottom: 15px;
    }
    
    /* Скрываем изображение принтера на мобильных */
    .integrated-printer-block {
        display: none;
    }
    
    /* Секции */
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    /* Портфолио */
    .portfolio-slider {
        width: 95%;
        margin: 0 auto;
    }
    
    /* Портфолио адаптируется через CSS переменные */
    
    .slider-controls {
        margin-top: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-dots {
        gap: 8px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    
    .faq-answer {
        font-size: 0.9rem;
        padding: 15px;
    }
    
    /* Футер */
    .footer-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        flex-direction: row !important;
    }
    
    .footer-info h3,
    .footer-social h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer-info p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .social-icons-row {
        justify-content: center;
        gap: 15px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Модальные окна */
    .modal-content {
        width: 95%;
        max-width: 400px;
        margin: 20px auto;
        padding: 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .modal-content ul {
        font-size: 0.9rem;
    }
    
    .modal-content li {
        margin-bottom: 8px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .about-company h3 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-header h2 {
        font-size: 30px !important;
        line-height: 1.1 !important;
        margin-bottom: 12px !important;
    }
    
    .contact-content {
        padding: 0 16px !important;
    }
    
    .contact-header {
        margin-bottom: 40px !important;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    /* Портфолио адаптируется через CSS переменные */
    
    .faq-question {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .faq-answer {
        font-size: 0.85rem;
        padding: 12px;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .social-btn {
        width: 44px;
        height: 44px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Ландшафтная ориентация на мобильных - ПРИНУДИТЕЛЬНЫЕ СТИЛИ */
@media (max-width: 768px) and (orientation: landscape) {
    html body .hero-section {
        min-height: 60vh !important;
        padding: 15px !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        background: #1a1a1a !important; /* Принудительный темный фон для landscape */
    }
    
    html body .hero-section .container {
        padding: 0 25px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* ИСКЛЮЧЕНИЕ ДЛЯ ПОРТФОЛИО - УБИРАЕМ ПРИНУДИТЕЛЬНЫЕ ОТСТУПЫ */
    html body .portfolio-section .container,
    html body .portfolio-slider,
    html body .portfolio-track,
    html body .portfolio-item {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    html body .hero-section .hero-content-card {
        padding: 25px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #1a1a1a !important; /* Принудительный темный фон */
    }
    
    html body .hero-section .about-company {
        padding: 0 25px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    html body .hero-section .about-company .hero-title {
        font-size: 1.5rem !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
    }
    
    html body .hero-section .about-company .gradient-title {
        font-size: 1.4rem !important;
        text-align: justify !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
    }
    
    html body .hero-section .about-company .description-text {
        font-size: 1.1rem !important;
        text-align: justify !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #ffffff !important;
    }
    
    html body .hero-section .about-company .modelix-brand {
        font-size: 1.3em !important;
    }
    
    html body .cta-button {
        font-size: 1.1rem !important;
        padding: 15px 30px !important;
        margin-bottom: 15px !important;
    }
    
    /* Дополнительные стили для других блоков в landscape */
    .navigation {
        padding: 8px 10px !important;
    }
    
    .nav-menu .nav-link {
        font-size: 0.8rem !important;
        padding: 8px 12px !important;
    }
    
    .main-logo h1 {
        font-size: 32px !important;
    }
    
    .main-logo i {
        font-size: 28px !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }
    
    .service-card {
        padding: 15px !important;
    }
    
    .service-card h3 {
        font-size: 1.1rem !important;
    }
    
    .service-card p {
        font-size: 0.9rem !important;
    }
    
    .advantages-grid {
        gap: 15px !important;
    }
    
    .advantage-card {
    }
    
    .advantage-card h3 {
        font-size: 1.1rem !important;
    }
    
    .advantage-card p {
        font-size: 0.9rem !important;
    }
    
    .stats-grid {
        gap: 15px !important;
    }
    
    .stat-card {
        padding: 15px !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    .faq-question {
        font-size: 0.9rem !important;
        padding: 10px !important;
    }
    
    .faq-answer {
        font-size: 0.85rem !important;
        padding: 10px !important;
    }
    
    .text-section {
        padding: 20px 15px !important;
        background: #1a1a1a !important; /* Принудительный темный фон для мобилки */
    }
    
    .text-section h2 {
        font-size: 1.6rem !important;
        margin-bottom: 15px !important;
    }
    
    .text-section p {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
    }
}

/* УДАЛЕНЫ ПРИНУДИТЕЛЬНЫЕ ПРАВИЛА - ВОЗВРАЩАЕМ ОРИГИНАЛЬНЫЙ ДИЗАЙН */

/* Удалено конфликтующее правило */

.footer-section {
    text-align: justify; /* Выравнивание по ширине */
        text-justify: inter-word; /* Выравнивание по ширине */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    justify-content: center;
    min-height: 60px;
}

.footer-section h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc;
}

/* Удалены конфликтующие правила для contact-item */

/* ПРИНУДИТЕЛЬНОЕ ПОЗИЦИОНИРОВАНИЕ ИКОНОК СОЦИАЛЬНЫХ СЕТЕЙ - ЗАФИКСИРОВАНО! */
.hero-section .social-links,
.image-section .social-links,
div.image-section .social-links,
.hero-content-card .image-section .social-links {
    margin-left: 0px !important;
    margin-right: 0px !important;
    position: relative !important;
    left: 105px !important;
    top: 0px !important;
    transform: none !important;
    justify-content: flex-start !important;
    align-items: center !important;
    display: flex !important;
    gap: 16px !important;
    z-index: 10 !important;
    width: auto !important;
    max-width: none !important;
}

/* АДАПТИВНОЕ ПОЗИЦИОНИРОВАНИЕ СОЦИАЛЬНЫХ ИКОНОК */
@media (max-width: 1200px) {
    .hero-section .social-links,
    .image-section .social-links,
    div.image-section .social-links,
    .hero-content-card .image-section .social-links {
        left: 60px !important;
    }
}

@media (max-width: 1000px) {
    .hero-section .social-links,
    .image-section .social-links,
    div.image-section .social-links,
    .hero-content-card .image-section .social-links {
        left: 30px !important;
    }
}

@media (max-width: 800px) {
    .hero-section .social-links,
    .image-section .social-links,
    div.image-section .social-links,
    .hero-content-card .image-section .social-links {
        left: 15px !important;
    }
}

@media (max-width: 600px) {
    .hero-section .social-links,
    .image-section .social-links,
    div.image-section .social-links,
    .hero-content-card .image-section .social-links {
        left: 5px !important;
    }
}

.hero-section .social-links .social-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-section .social-links .social-btn i {
    margin: 0 !important;
    padding: 0 !important;
}

/* ФИНАЛЬНОЕ ПРАВИЛО ДЛЯ ВЫРАВНИВАНИЯ ТЕКСТА ПО ШИРИНЕ */
html body section#about .container .advantages-grid .advantage-card.modern-card .text-content p,
html body section#about .container .advantages-grid .advantage-card.modern-card p,
html body .advantage-card.modern-card .advantage-text {
    text-align: justify !important; /* Выравнивание по ширине */
    text-justify: inter-word !important; /* Выравнивание по ширине */
    word-spacing: normal !important; /* Нормальные промежутки между словами */
    hyphens: auto !important; /* Автоматические переносы слов */
    direction: ltr !important; /* Направление текста слева направо */
}

/* ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ ПЕРВОГО БЛОКА - МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ */
.hero-section .about-company .gradient-title {
    font-size: 26px !important;
    text-align: left !important;
}

.hero-section .about-company .description-text {
    font-size: 20px !important;
    text-align: left !important;
    color: #ffffff !important;
}

/* ЕЩЕ БОЛЕЕ СПЕЦИФИЧНЫЕ СЕЛЕКТОРЫ */
body .hero-section .about-company .gradient-title {
    font-size: 26px !important;
    text-align: left !important;
}

html body .hero-section .about-company .gradient-title {
    font-size: 26px !important;
    text-align: left !important;
}

/* Стили для увеличенного слова Modelix */
.modelix-brand {
    font-size: 1.4em !important;
    font-weight: 800 !important;
}

/* МОБИЛЬНЫЕ СТИЛИ ДЛЯ ПЕРВОГО БЛОКА */
@media (max-width: 768px) {
    .hero-section .about-company {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-section .about-company .gradient-title {
        font-size: 18px !important;
        text-align: justify !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
        margin: 0 0 20px 0 !important;
    }
    
    .hero-section .about-company .description-text {
        font-size: 14px !important;
        text-align: justify !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
        color: #ffffff !important;
    }
    
    .hero-section .about-company .hero-title {
        text-align: center !important;
        width: 100% !important;
        padding: 0 5px !important;
    }
    
    .modelix-brand {
        font-size: 1.1em !important;
    }
    
    /* Уменьшаем отступы контейнера hero-section */
    .hero-section .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
    }
}

/* СУПЕР-ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ SERVICE-DETAILS */
html body .service-details,
body .service-details,
.service-content-new .service-details,
.service-expandable .service-details,
div.service-details,
#model1, #tech1, #scan1, #rev1, #eng1, #post1 {
    width: calc(100% + 60px) !important;
    max-width: none !important;
    margin-left: -30px !important;
    margin-right: -30px !important;
    padding: 30px 50px !important;
    box-sizing: border-box !important;
    transition: all 0.4s ease !important;
    opacity: 0 !important;
    transform: translateY(-15px) !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    position: relative !important;
}

html body .service-details.open,
body .service-details.open,
.service-content-new .service-details.open,
.service-expandable .service-details.open,
div.service-details.open,
#model1.open, #tech1.open, #scan1.open, #rev1.open, #eng1.open, #post1.open {
    opacity: 1 !important;
    transform: translateY(0) !important;
    max-height: 500px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    margin-top: 20px !important;
}

html body .service-details.closing,
body .service-details.closing,
.service-content-new .service-details.closing,
.service-expandable .service-details.closing,
div.service-details.closing,
#model1.closing, #tech1.closing, #scan1.closing, #rev1.closing, #eng1.closing, #post1.closing {
    opacity: 0 !important;
    transform: translateY(-15px) !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Мобильная версия - расширяем на всю ширину карточки */
@media (max-width: 768px) {
    html body .service-details,
    body .service-details,
    .service-content-new .service-details,
    .service-expandable .service-details,
    div.service-details,
    #model1, #tech1, #scan1, #rev1, #eng1, #post1 {
        width: calc(100% + 10px) !important;
        margin-left: -5px !important;
        margin-right: -5px !important;
        padding: 20px 25px !important;
        max-width: none !important;
    }
}


/* ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ МОБИЛКИ - service-content-new */
@media (max-width: 768px) {
    html body .service-content-new,
    body .service-content-new,
    div.service-content-new,
    .service-card-new .service-content-new,
    .services-grid-new .service-card-new .service-content-new {
        padding: 25px 15px 15px 15px !important;
    }
}

/* ========================================
   КРИТИЧЕСКИ ВАЖНО: МОБИЛЬНАЯ ТЕМНАЯ ТЕМА
======================================== */

/* Принудительное применение темной темы на всех мобильных устройствах */
@media (max-width: 768px) {
    /* Принудительно переопределяем CSS переменные для темной темы */
    :root {
        --gray-900: #1a1a1a !important;
    }
    
    /* Принудительно отключаем адаптацию к теме браузера */
    * {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    html, body {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    /* Принудительно применяем темную тему для всех секций */
    .hero-section,
    .about-section,
    .technologies-section,
    .workflow-section,
    .portfolio-section,
    .faq-section,
    .services-section-new,
    .contact-section {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    /* Конкретно для первого блока - принудительный темный фон */
    .hero-section {
        background: #1a1a1a !important;
    }
}

@media (max-width: 480px) {
    /* Принудительно переопределяем CSS переменные для темной темы */
    :root {
        --gray-900: #1a1a1a !important;
    }
    
    /* Принудительно отключаем адаптацию к теме браузера на очень маленьких экранах */
    * {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    html, body {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    /* Принудительно применяем темную тему для всех секций */
    .hero-section,
    .about-section,
    .technologies-section,
    .workflow-section,
    .portfolio-section,
    .faq-section,
    .services-section-new,
    .contact-section {
        color-scheme: dark !important;
        -webkit-color-scheme: dark !important;
        -moz-color-scheme: dark !important;
        -ms-color-scheme: dark !important;
        forced-color-adjust: none !important;
    }
    
    /* Конкретно для первого блока - принудительный темный фон */
    .hero-section {
        background: #1a1a1a !important;
    }
}

/* КРИТИЧЕСКИ ВАЖНО: ПРИНУДИТЕЛЬНЫЙ ТЕМНЫЙ ФОН ДЛЯ ПЕРВОГО БЛОКА НА МОБИЛКЕ */
@media (max-width: 768px) {
    html body .hero-section,
    body .hero-section,
    .hero-section {
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
    }
    
    /* ПРИНУДИТЕЛЬНЫЙ ТЕМНЫЙ ФОН ДЛЯ КАРТОЧКИ ВНУТРИ HERO-SECTION */
    html body .hero-section .hero-content-card,
    body .hero-section .hero-content-card,
    .hero-section .hero-content-card,
    .hero-content-card {
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
    }
}

@media (max-width: 480px) {
    html body .hero-section,
    body .hero-section,
    .hero-section {
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
    }
    
    /* ПРИНУДИТЕЛЬНЫЙ ТЕМНЫЙ ФОН ДЛЯ КАРТОЧКИ ВНУТРИ HERO-SECTION */
    html body .hero-section .hero-content-card,
    body .hero-section .hero-content-card,
    .hero-section .hero-content-card,
    .hero-content-card {
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
    }
}



