/* Скрытие бокового меню на главной странице */
body.page-main .sidebar-navigation,
body.page-main .sidebar-nav-toggle,
body.page-main .sidebar-nav-overlay {
    display: none !important;
}


/* Скрытие плавающей боковой навигации (три черточки, левый нижний угол) */
.sidebar-nav-toggle,
.sidebar-navigation,
.sidebar-nav-overlay {
    display: none !important;
}

.bg-primary02{
    background: #ebebeb;
}

/* Стили для модальных окон */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto; /* Добавляем скролл для самого модального окна */
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Скрыты по умолчанию */
    justify-content: center;
    align-items: flex-start; /* Изменено с center на flex-start */
    padding: 20px 0;
    z-index: 10000;
}

.custom-modal-overlay.active {
    display: flex;
}

.custom-modal-container {
    background: white;
    border-radius: 5px;
    width: 500px;
    max-width: calc(100vw - 30px);
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    animation: modalFadeIn 0.3s ease-out;
    margin-top: 30px;
    margin-bottom: 30px;
}

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

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-close:hover {
    background: #e0e0e0;
}

.custom-modal-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.floating-calc-button {
    max-width: calc(100vw - 40px);
}

@media (min-width: 768px) {
    .floating-calc-button {
        bottom: 80px !important;
    }
}

@media (max-width: 480px) {
    .floating-calc-button {
        right: 12px !important;
        bottom: 12px !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        line-height: 1.2;
        white-space: nowrap;
        max-width: calc(100vw - 24px);
    }
}

        .custom-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--primary600);
            transition: color 0.2s;
        }

        .custom-modal-close:hover {
            color: var(--primary800);
        }

        .custom-modal-title {
            margin-top: 0;
            margin-bottom: 20px;
            color: var(--primary800);
            font-size: 1.5rem;
            font-weight: 600;
        }

        /* Контейнер для формы с автоматической высотой */
        .form-container {
            width: 100%;
            /*min-height: 450px;*/
            overflow: hidden;
        }

        .form-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

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

        /* Стили для встроенных форм */
        .embedded-form {
            background: var(--primary50);
            padding: 30px;
            border-radius: 8px;
            margin: 30px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .embedded-form h3 {
            margin-top: 0;
            color: var(--primary700);
            font-size: 1.3rem;
            margin-bottom: 20px;
        }


.menu1{
background: #efefef;
    border-bottom: 1px solid #e7e7e7;
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
-webkit-box-shadow: -2px 5px 7px -5px rgba(0,0,0,0.19); 
box-shadow: -2px 5px 7px -5px rgba(0,0,0,0.19);

}

.button1 {
       width: 100%;
    text-align: center; 
}


/*Фиксация меню*/
/* Общие стили для фиксированного меню */
.menu1.menu1-tablet.fixed-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Стили для мобильной версии */
@media (max-width: 767px) {
  .menu1.menu1-tablet.fixed-menu-mobile {
    background: #fff;
    padding: 10px 15px;
  }
  
  .menu1.menu1-tablet.fixed-menu-mobile .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  
  .menu1.menu1-tablet.fixed-menu-mobile .menu-control {
    margin: 0;
  }
}

/* Стили для десктопной версии */
@media (min-width: 768px) {
  .menu1.menu1-tablet.fixed-menu-desktop {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px 0;
    animation: fadeInDown 0.3s ease;
  }
  
  .menu1.menu1-tablet.fixed-menu-desktop .menu {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}



.bg-primary800 {
    background: linear-gradient(90deg, rgb(219 219 219) 0%, rgb(227 227 227) 100%)
}


.im-angle-right:before {
    content: "";
    position: relative;
    top: 2px;
}
.mso-home-text-top li{
    list-style: none;
}

.mso-type-page-content li{
    list-style: none;
}
















.cookie-consent-container {
            position: fixed;
            right: 20px;
            bottom: 20px;
            width: 100%;
            max-width: 380px;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 9999;
            border-radius: 8px;
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            display: none;
        }

        .cookie-consent-container.active {
            display: block;
            animation: slideIn 0.5s forwards;
        }

        @keyframes slideIn {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }

        .cookie-consent-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #333;
        }

        .cookie-consent-text {
            font-size: 14px;
            color: #666;
            margin-bottom: 16px;
            line-height: 1.5;
            display: none;
        }

        .cookie-consent-text a {
            color: #0066cc;
            text-decoration: underline;
        }

        .cookie-consent-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .cookie-consent-btn {
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            flex: 1;
            min-width: 120px;
        }

        .cookie-consent-accept {
            background-color: #0066cc;
            color: white;
        }

        .cookie-consent-accept:hover {
            background-color: #0052a3;
        }

        .cookie-consent-reject {
            background-color: #f0f0f0;
            color: #333;
        }

        .cookie-consent-reject:hover {
            background-color: #e0e0e0;
        }

        .cookie-consent-more {
            color: #0066cc;
            text-decoration: underline;
            font-size: 14px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            margin-bottom: 12px;
            display: inline-block;
        }

        @media (max-width: 480px) {
            .cookie-consent-container {
                right: 10px;
                left: 10px;
                max-width: calc(100% - 20px);
                bottom: 10px;
            }
            
            .cookie-consent-btn {
                min-width: 100px;
            }
        }














                .privacy-policy {
            margin: 0 auto;
            padding: 20px;
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
        }
        .privacy-policy h1 {
            color: #2c3e50;
            text-align: center;
            margin-bottom: 30px;
        }
        .privacy-policy h2 {
            color: #3498db;
            margin-top: 25px;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
        }
        .privacy-policy p {
            margin-bottom: 15px;
        }
        .privacy-policy ul {
            margin-bottom: 15px;
            padding-left: 20px;
        }
        .privacy-policy li {
            margin-bottom: 8px;
        }
        .highlight {
            background-color: #f8f9fa;
            padding: 15px;
            border-left: 4px solid #3498db;
            margin: 15px 0;
        }














        /* Изолированные стили только для лендинга */
        .china-equipment-landing {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            padding: 3rem 1rem;
            box-sizing: border-box;
        }
        
        .china-equipment-landing *, 
        .china-equipment-landing *::before, 
        .china-equipment-landing *::after {
            box-sizing: border-box;
        }
        
        .china-equipment-landing .cel-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        /* Hero секция */
        .china-equipment-landing .cel-hero {
            background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
            color: white;
            padding: 4rem 2rem;
            text-align: center;
            border-radius: 12px;
            margin-bottom: 3rem;
            position: relative;
            overflow: hidden;
        }
        
        .china-equipment-landing .cel-hero-content {
            position: relative;
            z-index: 1;
        }
        
        .china-equipment-landing .cel-hero h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 0 0 1.5rem 0;
            text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }
        
        .china-equipment-landing .cel-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
            margin: 0 0 2rem 0;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .china-equipment-landing .cel-btn-group {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .china-equipment-landing .cel-btn {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 8px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            font-size: 0.95rem;
        }
        
        .china-equipment-landing .cel-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        /* Карточки */
        .china-equipment-landing .cel-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            overflow: hidden;
            height: 100%;
        }
        
        .china-equipment-landing .cel-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .china-equipment-landing .cel-card-content {
            padding: 2rem;
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .china-equipment-landing .cel-icon {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
            font-size: 1.3rem;
            color: white;
        }
        
        .china-equipment-landing .cel-icon-primary {
            background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
        }
        
        .china-equipment-landing .cel-icon-secondary {
            background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
        }
        
        .china-equipment-landing .cel-icon-accent {
            background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
        }
        
        /* Заголовки */
        .china-equipment-landing .cel-section-title {
            font-size: 2rem;
            font-weight: 700;
            text-align: center;
            margin: 0 0 2.5rem 0;
            color: #2d3748;
            position: relative;
        }
        
        .china-equipment-landing .cel-section-title::after {
            content: '';
            width: 60px;
            height: 3px;
            background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
            display: block;
            margin: 0.8rem auto 0;
            border-radius: 2px;
        }
        
        .china-equipment-landing .cel-card-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 0 0 1rem 0;
            color: #2d3748;
        }
        
        .china-equipment-landing .cel-card-desc {
            color: #4a5568;
            line-height: 1.6;
            margin: 0;
            flex-grow: 1;
            font-size: 0.95rem;
        }
        
        /* Сетки */
        .china-equipment-landing .cel-grid {
            display: grid;
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        
        .china-equipment-landing .cel-grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .china-equipment-landing .cel-grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .china-equipment-landing .cel-grid-4 {
            grid-template-columns: repeat(4, 1fr);
        }
        
        /* Секция процесса */
        .china-equipment-landing .cel-process {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 3rem;
        }
        
        .china-equipment-landing .cel-process-step {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
            transition: all 0.3s ease;
            flex: 1;
            min-width: 180px;
            max-width: 200px;
            border: 1px solid #e2e8f0;
        }
        
        .china-equipment-landing .cel-process-step:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        }
        
        .china-equipment-landing .cel-process-icon {
            width: 45px;
            height: 45px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.2rem;
            background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
            color: white;
        }
        
        /* Результат */
        .china-equipment-landing .cel-result {
            background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
            color: white;
            padding: 3rem 2rem;
            text-align: center;
            border-radius: 12px;
            margin-top: 2rem;
        }
        
        .china-equipment-landing .cel-result-icon {
            width: 70px;
            height: 70px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            background: rgba(255, 255, 255, 0.15);
        }
        
        .china-equipment-landing .cel-result h2 {
            font-size: 2rem;
            font-weight: 700;
            margin: 0 0 1rem 0;
        }
        
        .china-equipment-landing .cel-result p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin: 0;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .china-equipment-landing .cel-hero h1 {
                font-size: 1.8rem;
            }
            
            .china-equipment-landing .cel-hero p {
                font-size: 1rem;
            }
            
            .china-equipment-landing .cel-btn-group {
                flex-direction: column;
                align-items: center;
            }
            
            .china-equipment-landing .cel-grid-2,
            .china-equipment-landing .cel-grid-3,
            .china-equipment-landing .cel-grid-4 {
                grid-template-columns: 1fr;
            }
            
            .china-equipment-landing .cel-process {
                flex-direction: column;
                align-items: center;
            }
            
            .china-equipment-landing .cel-process-step {
                max-width: 100%;
            }
            
            .china-equipment-landing .cel-section-title {
                font-size: 1.6rem;
            }
            
            .china-equipment-landing .cel-result h2 {
                font-size: 1.6rem;
            }
        }
        
        /* Тематические иконки */
        .china-equipment-landing .cel-icon-check::before { content: "✓"; font-weight: bold; }
        .china-equipment-landing .cel-icon-dollar::before { content: "$"; font-weight: bold; }
        .china-equipment-landing .cel-icon-file::before { content: "📋"; }
        .china-equipment-landing .cel-icon-warning::before { content: "⚠"; font-weight: bold; }
        .china-equipment-landing .cel-icon-law::before { content: "⚖"; }
        .china-equipment-landing .cel-icon-search::before { content: "🔍"; }
        .china-equipment-landing .cel-icon-truck::before { content: "🚚"; }
        .china-equipment-landing .cel-icon-stamp::before { content: "📋"; }
        .china-equipment-landing .cel-icon-cert::before { content: "📜"; }
        .china-equipment-landing .cel-icon-chat::before { content: "💬"; }
        .china-equipment-landing .cel-icon-contract::before { content: "📝"; }
        .china-equipment-landing .cel-icon-delivery::before { content: "🚛"; }
        .china-equipment-landing .cel-icon-calc::before { content: "🧮"; }









                .highlight {
            background-color: #fff3cd;
            padding: 15px;
            border-left: 4px solid #ffc107;
            margin: 20px 0;
            font-style: italic;
        }
        
        .warning {
            background-color: #f8d7da;
            padding: 15px;
            border-left: 4px solid #dc3545;
            margin: 20px 0;
        }
        
        .tip {
            background-color: #d1ecf1;
            padding: 15px;
            border-left: 4px solid #17a2b8;
            margin: 20px 0;
        }
        
        .divider {
            height: 2px;
            background: linear-gradient(to right, #e74c3c, #f39c12, #e74c3c);
            margin: 50px 0;
            border: none;
        }








                .company-info {
            background-color: #ecf0f1;
            padding: 20px;
            border-left: 4px solid #3498db;
            margin-bottom: 25px;
            border-radius: 4px;
        }
        .company-info p {
            margin-bottom: 8px;
        }
        .company-info strong {
            color: #2c3e50;
        }

/* Стили для административного меню - уменьшение отступов */
/* Выпадающее подменю - компактная версия */
ul.menu ul li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

ul.menu ul li a {
    padding: 4px 40px 4px 10px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
}

/* Разделители в подменю - минимальные отступы */
ul.menu ul li.divider {
    margin: 2px 0 !important;
    padding: 0 !important;
    height: 1px !important;
    line-height: 1px !important;
}

ul.menu ul li.divider > span {
    margin: 0 !important;
    padding: 0 !important;
    height: 1px !important;
    display: block !important;
}

/* Первый и последний элементы группы */
ul.menu ul li.group-first {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

ul.menu ul li.group-first a {
    padding-top: 4px !important;
}

ul.menu ul li.group-last {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

ul.menu ul li.group-last a {
    padding-bottom: 4px !important;
}

/* Убираем лишние отступы у группы */
ul.menu li.group ul {
    padding: 2px 0 !important;
    margin: 0 !important;
}

/* Для мобильной версии меню */
@media (max-width: 768px) {
    ul.menu-tablet ul li {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    
    ul.menu-tablet ul li a {
        padding: 5px 20px 5px 40px !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        min-height: auto !important;
        height: auto !important;
        display: block !important;
    }
    
    ul.menu-tablet ul li.divider {
        margin: 2px 0 !important;
        padding: 0 !important;
        line-height: 1px !important;
    }
    
    ul.menu-tablet ul li.divider > span {
        margin: 0 35px !important;
        padding: 0 !important;
        height: 1px !important;
        display: block !important;
    }
    
    ul.menu-tablet li.group ul {
        padding: 2px 0 !important;
        margin: 0 !important;
    }
}

/* Уменьшение padding для форм с классом pad30 на мобильных устройствах */
@media (max-width: 768px) {
    .pad30[id^="form_"],
    .pad30[id*="form_"] {
        padding: 5px !important;
    }
}

/* Единый синий фон для подвала */
.footer-gradient {
    background: #1E40AF !important;
    position: relative !important;
}

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

/* ============================================
   СТИЛИ ИЗ ПОСАДОЧНЫХ СТРАНИЦ
   ============================================ */

/* Предотвращение горизонтального скролла */
html, body {
    overflow-x: hidden;
}

/* Стили для секций на всю ширину экрана */
.full-width-section {
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* Переопределяем любые ограничения от layout-center-wrap для full-width секций */
.layout-center-wrap .full-width-section,
.layout-wrap .full-width-section {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    left: auto !important;
    right: auto !important;
}

.max-width-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .max-width-container {
        padding: 0 15px;
    }
}

/* Стили для флагов стран - используем SVG через data URI */
.country-flag {
    display: inline-block;
    width: 32px;
    height: 22px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    vertical-align: middle;
}

/* Флаг Китая - упрощенный SVG */
.country-flag-cn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='22' viewBox='0 0 32 22'%3E%3Crect fill='%23DE2910' width='32' height='22'/%3E%3Ctext x='50%25' y='50%25' dominant-baseline='central' text-anchor='middle' fill='%23FFDE00' font-size='12' font-weight='bold'%3E★%3C/text%3E%3C/svg%3E");
}

/* Флаг России - трехцветный */
.country-flag-ru {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='22' viewBox='0 0 32 22'%3E%3Crect fill='%23FFFFFF' width='32' height='7.33'/%3E%3Crect fill='%230039A6' y='7.33' width='32' height='7.34'/%3E%3Crect fill='%23D52B1E' y='14.67' width='32' height='7.33'/%3E%3C/svg%3E");
}

/* Hero-секция */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #2563EB 100%);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    color: white;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.hero-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    background: white;
    color: #2563EB;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #F3F4F6;
}

.hero-button-primary i {
    transition: transform 0.3s ease;
}

.hero-button-primary:hover i {
    transform: translateX(5px);
}

.hero-button-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 35px;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button-secondary:hover {
    background: white;
    color: #2563EB;
    transform: translateY(-2px);
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.hero-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-benefit-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 20px;
    color: white;
}

.hero-benefit-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-benefit-text strong {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.hero-benefit-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        justify-content: center;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-button-primary,
    .hero-button-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-benefit-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Новая компактная верстка секции процесса работы */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.process-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.process-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Центрирование 7-го элемента в третьем ряду */
.process-item-center {
    grid-column: 2 / 3;
}

.process-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EBF4FF;
    color: #2563EB;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}

.process-content {
    flex: 1;
    min-width: 0;
}

.process-title {
    font-size: 18px;
    font-weight: 600;
    color: #21336d;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.process-text {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
    list-style: none !important;
    padding-left: 0 !important;
}

.process-text ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.process-text li {
    margin-bottom: 5px;
    color: #6B7280;
    position: relative;
    padding-left: 15px;
}

.process-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(107, 114, 128, 0.5);
    font-weight: bold;
}

.process-text li:last-child {
    margin-bottom: 0;
}

/* Увеличенные отступы для секции процесса работы */
#process {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-item-center {
        grid-column: 1 / -1; /* На планшетах - на всю ширину */
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .process-item {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 10px;
    }
    
    .process-item-center {
        grid-column: 1; /* На мобильных - на всю ширину */
    }
    
    .process-content {
        width: 100%;
    }
    
    /* Выравнивание элементов списков по левому краю на мобильной версии */
    .process-text {
        text-align: left;
    }
    
    .process-text li {
        text-align: left;
    }
}

/* Номер услуги - маленький красивый бейдж */
.service-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    margin-right: 8px;
    vertical-align: middle;
}

/* Иконки процесса работы */
.process-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border-radius: 16px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-icon-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.process-icon-wrapper i {
    display: block;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.process-icon-wrapper i.bi::before,
.process-icon-wrapper i[class*=" bi-"]::before,
.process-icon-wrapper i[class^="bi-"]::before {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Градиентный фон для секции "Полная прозрачность затрат" */
.pricing-gradient-section {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #2563EB 100%);
    position: relative;
    overflow: hidden;
}

.pricing-gradient-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.pricing-gradient-section > * {
    position: relative;
    z-index: 1;
}

/* Градиентный фон для секции "Получить расчет стоимости услуг" */
.form-gradient-section {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #60A5FA 100%);
    position: relative;
    overflow: hidden;
}

.form-gradient-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.form-gradient-section > * {
    position: relative;
    z-index: 1;
}

/* Стили для аккордеона FAQ */
#faq .accordion-header {
    transition: background 0.2s ease;
    user-select: none;
}

#faq .accordion-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

#faq .accordion-icon {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

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

@media (max-width: 768px) {
    .service-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .process-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .process-icon-wrapper i {
        font-size: 36px !important;
    }
}

/* Сетка процесса обращения - 6 элементов в ряд */
.process-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.process-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.process-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.process-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #2563EB;
    font-size: 40px;
}

.process-card-icon i {
    margin: 0 !important;
    padding: 0 !important;
}

.process-card-icon i.bi::before,
.process-card-icon i[class*=" bi-"]::before,
.process-card-icon i[class^="bi-"]::before {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Сетка доверия - 3 колонки, 7-й элемент на всю ширину */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.trust-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trust-card-full {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
}

.trust-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #10b981;
    font-size: 40px;
}

.trust-card-icon i {
    margin: 0 !important;
    padding: 0 !important;
}

.trust-card-icon i.bi::before,
.trust-card-icon i[class*=" bi-"]::before,
.trust-card-icon i[class^="bi-"]::before {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Сетка преимуществ - 2x2, 5-й элемент на всю ширину */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Стили для секции "Наши преимущества" на странице "Импорт оборудования из Китая" - 3 колонки */
#advantages .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
}

/* Адаптивность для 3-колоночной сетки преимуществ */
@media (max-width: 1024px) {
    #advantages .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #advantages .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.advantage-card {
    background: white;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 60px;
}

.advantage-card-full {
    grid-column: 1 / -1;
}

.advantage-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hero-секция с фоновым изображением */
.hero-section-import {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-image: url('/uploads/import-oborudovanija-iz-kitaja.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 80px 0;
    color: white;
}

.hero-section-import::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero-section-import .max-width-container {
    position: relative;
    z-index: 3;
}

/* Сетка преимуществ - 3 колонки */
.advantages-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Сетка проблем - 2 колонки */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Сетка услуг - 4 колонки */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Процесс работы - 5 шагов: 3 колонки в первом ряду, 2 по центру во втором */
.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.process-step-item:nth-child(1) {
    grid-column: 1 / 3;
}

.process-step-item:nth-child(2) {
    grid-column: 3 / 5;
}

.process-step-item:nth-child(3) {
    grid-column: 5 / 7;
}

.process-step-item:nth-child(4) {
    grid-column: 2 / 4;
}

.process-step-item:nth-child(5) {
    grid-column: 4 / 6;
}

.process-step-item {
    text-align: center;
    padding: 20px;
}

.process-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.process-step-icon i,
.process-step-icon i.bi,
.process-step-icon [class*=" bi-"],
.process-step-icon [class^="bi-"] {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.process-step-icon i.bi::before,
.process-step-icon [class*=" bi-"]::before,
.process-step-icon [class^="bi-"]::before {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.process-step-item h4 {
    margin-top: 0;
}

/* Стили для новостной ленты кейсов */
.cases-feed {
    margin: 0 auto;
}

.case-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.case-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.case-header {
    border-bottom: 2px solid #2563EB;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.case-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e40af;
    margin: 0;
    line-height: 1.3;
}

.case-content {
    color: #374151;
    line-height: 1.7;
}

.case-section {
    margin-bottom: 30px;
}

.case-section:last-child {
    margin-bottom: 0;
}

.case-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2563EB;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #dbeafe;
}

.case-content p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #4b5563;
}

.case-content p:last-child {
    margin-bottom: 0;
}

.case-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-results li {
    padding: 12px 0 12px 25px;
    position: relative;
    font-size: 16px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.case-results li:last-child {
    border-bottom: none;
}

.case-results li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
}

.case-results li strong {
    color: #1e40af;
    font-weight: 600;
}

/* Стили для секции "Почему выбирают нас" - 2x2 сетка */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .process-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .process-step-item:nth-child(1) {
        grid-column: 1 / 3;
    }
    
    .process-step-item:nth-child(2) {
        grid-column: 3 / 5;
    }
    
    .process-step-item:nth-child(3) {
        grid-column: 5 / 7;
    }
    
    .process-step-item:nth-child(4) {
        grid-column: 2 / 4;
    }
    
    .process-step-item:nth-child(5) {
        grid-column: 4 / 6;
    }
}

@media (max-width: 768px) {
    .process-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-card-full {
        grid-column: 1;
    }
    
    .advantage-card-full {
        grid-column: 1;
    }
    
    .process-card-icon {
        font-size: 32px;
    }
    
    .trust-card-icon {
        font-size: 32px;
    }
    
    .advantages-grid-3,
    .problems-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Секция "Наши преимущества" на странице "Импорт оборудования из Китая" - 1 колонка на мобильных */
    #advantages .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step-item:nth-child(1),
    .process-step-item:nth-child(2),
    .process-step-item:nth-child(3),
    .process-step-item:nth-child(4),
    .process-step-item:nth-child(5) {
        grid-column: 1;
    }
    
    .process-step-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .case-item {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .case-title {
        font-size: 22px;
    }
    
    .case-section-title {
        font-size: 18px;
    }
    
    .case-content p {
        font-size: 15px;
    }
    
    .case-results li {
        font-size: 15px;
        padding-left: 20px;
    }
}

/* ========================================
   СТИЛИ БОКОВОГО МЕНЮ НАВИГАЦИИ
   ======================================== */

/* Кнопка открытия меню */
.sidebar-nav-toggle {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-600, #2563eb);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
}

/* Специфичные стили для иконки в кнопке меню - переопределяем глобальные стили Bootstrap Icons */
.sidebar-nav-toggle i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}

/* Убираем margin-right у псевдоэлемента ::before иконки Bootstrap Icons внутри кнопки меню */
.sidebar-nav-toggle i.bi::before,
.sidebar-nav-toggle i[class*=" bi-"]::before,
.sidebar-nav-toggle i[class^="bi-"]::before {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Дополнительная специфичность для прямой иконки в кнопке */
.sidebar-nav-toggle > i,
.sidebar-nav-toggle > i.bi {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.sidebar-nav-toggle:hover {
    background: var(--primary-700, #1d4ed8);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Оверлей для мобильного меню */
.sidebar-nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Боковое меню навигации */
.sidebar-navigation {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-navigation.open {
    transform: translateX(0);
}

.sidebar-navigation-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-50, #eff6ff);
}

.sidebar-navigation-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-800, #1e40af);
}

.sidebar-navigation-close {
    display: flex;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-700, #1d4ed8);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.sidebar-navigation-close:hover {
    background: var(--primary-100, #dbeafe);
}

.sidebar-navigation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    padding: 16px 0;
}

.sidebar-navigation-item {
    margin: 0;
}

.sidebar-navigation-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar-navigation-link:hover {
    background: var(--primary-50, #eff6ff);
    color: var(--primary-700, #1d4ed8);
    border-left-color: var(--primary-600, #2563eb);
}

.sidebar-navigation-link.active {
    background: var(--primary-100, #dbeafe);
    color: var(--primary-800, #1e40af);
    border-left-color: var(--primary-600, #2563eb);
    font-weight: 600;
}

.sidebar-navigation-icon {
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-navigation-text {
    flex: 1;
    font-size: 14px;
}

.sidebar-navigation-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-600, #2563eb);
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.sidebar-navigation-link.active .sidebar-navigation-indicator {
    opacity: 1;
}

.sidebar-navigation-progress {
    position: sticky;
    bottom: 0;
    height: 4px;
    background: #e5e7eb;
    width: 100%;
}

.sidebar-navigation-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-600, #2563eb), var(--primary-500, #3b82f6));
    width: 0%;
    transition: width 0.1s ease;
}

/* Десктоп - меню скрыто по умолчанию, открывается по клику */
@media (min-width: 1025px) {
    .sidebar-navigation {
        transform: translateX(-100%);
        box-shadow: none;
    }
    
    .sidebar-navigation.open {
        transform: translateX(0);
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar-nav-toggle {
        display: flex;
        left: 20px;
        right: auto;
    }
    
    .sidebar-navigation-close {
        display: flex;
    }
    
    .sidebar-nav-overlay {
        display: block;
    }
}

/* Мобильная версия */
@media (max-width: 1024px) {
    .sidebar-navigation {
        transform: translateX(-100%);
    }
    
    .sidebar-navigation.open {
        transform: translateX(0);
    }
    
    .sidebar-nav-toggle {
        display: flex;
        left: 20px;
        right: auto;
    }
    
    /* Скрываем кнопку прокрутки вверх на мобильных */
    .im-angle-double-up.icon-circle,
    div.im-angle-double-up {
        display: none !important;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Скрываем меню при печати */
@media print {
    .sidebar-navigation,
    .sidebar-nav-toggle,
    .sidebar-nav-overlay {
        display: none !important;
    }
}

/* Сетка FAQ для страницы Контакты - 2 колонки */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Стили для обертки формы "Узнайте стоимость вашего проекта за 5 минут" */
.form-container-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
}

/* Исправление размера шрифта в Hero-секции на странице Услуги для мобильной версии */
@media (max-width: 768px) {
    section.bg-primary800.pad60-tb h1.t180 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    section.bg-primary800.pad60-tb p.t150 {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
}

/* Стили для бокового навигационного меню */
button#sidebarNavToggle.sidebar-nav-toggle {
    display: flex !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 1000 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #2563eb !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    font-size: 24px !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

button#sidebarNavToggle.sidebar-nav-toggle i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

button#sidebarNavToggle.sidebar-nav-toggle i.bi::before,
button#sidebarNavToggle.sidebar-nav-toggle i[class*=" bi-"]::before,
button#sidebarNavToggle.sidebar-nav-toggle i[class^="bi-"]::before {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

div#sidebarNavOverlay.sidebar-nav-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

div#sidebarNavOverlay.sidebar-nav-overlay.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

nav#sidebarNavigation.sidebar-navigation {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    background: white !important;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

nav#sidebarNavigation.sidebar-navigation.open {
    transform: translateX(0) !important;
}

nav#sidebarNavigation .sidebar-navigation-header {
    padding: 20px !important;
    border-bottom: 1px solid #e5e7eb !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #eff6ff !important;
}

nav#sidebarNavigation .sidebar-navigation-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1e40af !important;
}

nav#sidebarNavigation .sidebar-navigation-close {
    display: flex !important;
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: #1d4ed8 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: background 0.2s ease !important;
}

nav#sidebarNavigation .sidebar-navigation-list {
    list-style: none !important;
    padding: 16px 0 !important;
    margin: 0 !important;
    flex: 1 !important;
}

nav#sidebarNavigation .sidebar-navigation-item {
    margin: 0 !important;
}

nav#sidebarNavigation .sidebar-navigation-link {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    border-left: 3px solid transparent !important;
}

nav#sidebarNavigation .sidebar-navigation-link:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-left-color: #2563eb !important;
}

nav#sidebarNavigation .sidebar-navigation-link.active {
    background: #dbeafe !important;
    color: #1e40af !important;
    border-left-color: #2563eb !important;
    font-weight: 600 !important;
}

nav#sidebarNavigation .sidebar-navigation-icon {
    font-size: 20px !important;
    margin-right: 12px !important;
    width: 24px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

nav#sidebarNavigation .sidebar-navigation-text {
    flex: 1 !important;
    font-size: 14px !important;
}

nav#sidebarNavigation .sidebar-navigation-progress {
    position: sticky !important;
    bottom: 0 !important;
    height: 4px !important;
    background: #e5e7eb !important;
    width: 100% !important;
}

nav#sidebarNavigation .sidebar-navigation-progress-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
    width: 0% !important;
    transition: width 0.1s ease !important;
}

/* Исправление контрастности: белый текст на синем фоне */
.bg-primary600, .bg-primary700, .bg-primary800, .bg-primary900,
[style*="background: #1E40AF"], [style*="background:#1E40AF"],
[style*="background-color: #1E40AF"], [style*="background-color:#1E40AF"] {
    color: #FFFFFF !important;
}

.bg-primary600 h1, .bg-primary600 h2, .bg-primary600 h3, .bg-primary600 h4, .bg-primary600 h5, .bg-primary600 h6,
.bg-primary700 h1, .bg-primary700 h2, .bg-primary700 h3, .bg-primary700 h4, .bg-primary700 h5, .bg-primary700 h6,
.bg-primary800 h1, .bg-primary800 h2, .bg-primary800 h3, .bg-primary800 h4, .bg-primary800 h5, .bg-primary800 h6 {
    color: #FFFFFF !important;
}

/* Стили для карточек услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.service-card:hover {
    border-color: #1E40AF;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    transform: translateY(-2px);
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #1E40AF;
}

.service-desc {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 18px;
    }
    
    .service-desc {
        font-size: 14px;
    }
}

/* Стили для страницы "Компания" */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.step-text {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.faq-item {
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* --- Стили для отзывов из гостевой книги (fform guestbook) --- */
.fform.guestbook {
    background: #ffffff;
    border: 1px solid #BFDBFE;  /* под цвет сайта (primary200) */
    border-radius: 8px;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.fform.guestbook p.head {
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 15px;
}

.fform.guestbook span.fheader {
    font-size: 16px;
    font-weight: 600;
    color: #1E40AF; /* primary800 */
}

.fform.guestbook .margin10 p {
    color: #374151; /* gray700 */
    line-height: 1.6;
    margin-bottom: 10px;
}
.fform.guestbook .margin10 p:last-child {
    margin-bottom: 0;
}

.fform.guestbook p.hr {
    display: none; /* Скрываем стандартную горизонтальную черту */
}

/* Мобильная адаптация */
@media (max-width: 500px) {
    .fform.guestbook {
        padding: 20px;
    }
}

/* ===== Ответ компании в гостевой книге ===== */

/* Общий контейнер: отзыв + ответ = одна карточка */
.mso-guestbook-item {
    margin-bottom: 24px;
    border-radius: 8px;
    border: 1px solid #BFDBFE;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}

.mso-guestbook-item:hover {
    box-shadow: 0 4px 16px rgba(30,64,175,0.10);
}

/* Карточка с ответом — синяя левая полоса на весь блок */
.mso-guestbook-item--replied {
    border-left: 4px solid var(--primary600, #1e40af);
}

/* Сбрасываем собственные рамки/тени у отзыва внутри карточки */
.mso-guestbook-item .fform.guestbook,
.mso-guestbook-item .mso-guestbook {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Разделитель — тонкая линия прямо под текстом отзыва */
.mso-guestbook-reply {
    border-top: 1px solid #BFDBFE;
    margin: 0;
    padding: 16px 24px 20px 24px;
    background: #EFF6FF;
    position: relative;
}

/* Псевдо-стрелка: маленький уголок-«хвостик» указывает вверх на отзыв */
.mso-guestbook-reply::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 14px;
    height: 14px;
    background: #EFF6FF;
    border-top: 1px solid #BFDBFE;
    border-left: 1px solid #BFDBFE;
    transform: rotate(45deg);
}

.mso-guestbook-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--primary700, #1e3a8a);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mso-guestbook-reply-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary600, #1e40af);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.mso-guestbook-reply-text {
    color: #1e3a8a;
    font-size: 15px;
    line-height: 1.75;
}

.mso-guestbook-reply-text p {
    margin: 0 0 8px 0;
}

.mso-guestbook-reply-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 500px) {
    .mso-guestbook-item--replied {
        border-left-width: 3px;
    }
    .mso-guestbook-reply {
        padding: 14px 16px 16px 16px;
    }
    .mso-guestbook-reply::before {
        left: 20px;
    }
}

ul.home-li li{
    list-style: circle;
}