.custom-file-label {
    overflow: hidden;
}

.custom-file-label::after {
    content: "Найти";
}

.panel-success {
    border-color: #29b74e;
}
.panel-success>.panel-heading {
    color: #fff;
    background-color: #2ecc71;
    border-color: #29b74e;
}
.btn-success {
    color: #fff;
    background-color: #2ecc71;
    border-color: #29b765;
}
.success {
    color: #29b74e;
}
.jgrowl-error {
    background-color: #a94442 !important;
}

.jgrowl-success {
    background-color: #3c763d !important;
}

.jgrowl-warning {
    background-color: #8a6d3b !important;
}

.modal-dialog {
/*    width: min-content !important; */
}

/* hear */


        :root {
            --primary: #109bd1;
            --primary-dark: #045e81;
            --secondary: #970000;
            --accent: #29b74e;
            --light: #f8f9fa;
            --dark: #212934;
            --gray: #6c757d;
            --light-gray: #e9eef5;
        }
        
        body {
            font-family: 'Open Sans', sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: #333;
            background: #fff;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
        }
        
        /* Стили для карточек товаров */
        .products-section {
            padding: 80px 0;
            background: var(--light);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--primary);
            margin: 15px auto 0;
            border-radius: 2px;
        }
        
        .product-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
            position: relative;
            height: 100%;
            margin-bottom: 40px; /* Увеличил отступ между карточками */
        }
        
        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }
        
        .product-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: linear-gradient(135deg, #109bd1, #045e81);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 2;
        }
        
        .badge-new {
            background: linear-gradient(135deg, #29b74e, #1e8c42);
        }
        
        .badge-sale {
            background: linear-gradient(135deg, #970000, #7a0000);
        }
        
        .product-image {
            position: relative;
            overflow: hidden;
            height: 280px;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            cursor: pointer;
        }
        
        .product-image img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(16, 155, 209, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .product-card:hover .product-overlay {
            opacity: 1;
        }
        
        .overlay-content .quick-view {
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
        }
        
        .product-body {
            padding: 24px;
        }
        
        .product-category {
            color: #6c757d;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .product-title {
            margin-bottom: 12px;
        }
        
        .product-title a {
            color: #212934;
            text-decoration: none;
            font-size: 1.25rem !important;
            font-weight: 600 !important;
            transition: color 0.3s ease;
        }
        
        .product-title a:hover {
            color: #109bd1;
        }
        
        .product-rating {
            margin-bottom: 16px;
        }
        
        .stars {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .stars i {
            color: #ffc107;
            font-size: 0.9rem;
        }
        
        .rating-count {
            color: #6c757d;
            font-size: 0.85rem;
            margin-left: 8px;
        }
        
        .product-description {
            color: #6c757d;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 20px;
        }
        
        .product-features {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 20px;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #495057;
            font-size: 0.9rem;
        }
        
        .feature-item i {
            color: #109bd1;
            width: 16px;
        }
        
        .product-price {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .current-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: #109bd1;
        }
        
        .old-price {
            font-size: 1rem;
            color: #6c757d;
            text-decoration: line-through;
        }
        
        .product-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        .btn {
            flex: 1 !important;
            padding: 12px 20px !important;
            border: none !important;
            border-radius: 8px !important;
            font-weight: 600 !important;
            text-decoration: none !important;
            text-align: center !important;
            transition: all 0.3s ease !important;
            cursor: pointer !important ;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            color: #fff !important;
        }
        
        .btn-details {
            background: #f8f9fa !important;
            color: #495057 !important;
            border: 2px solid #e9ecef !important;
        }
        
        .btn-details:hover {
            background: #e9ecef !important;
            color: #212934 !important;
            transform: translateY(-2px) !important;
        }
        
        .btn-order {
            background: linear-gradient(135deg, #109bd1, #045e81) !important;
            color: white !important;
        }
        
        .btn-order:hover {
            background: linear-gradient(135deg, #045e81, #03415c) !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 4px 12px rgba(16, 155, 209, 0.3) !important;
        }

        /* Модальное окно быстрого просмотра */
        .quickview-modal .modal-dialog {
            max-width: 900px;
        }

        .quickview-modal .modal-content {
            border-radius: 16px;
            border: none;
            overflow: hidden;
        }

        .quickview-modal .modal-header {
            border-bottom: 1px solid #e9ecef;
            padding: 20px 30px;
            background: var(--light);
        }

        .quickview-modal .modal-body {
            padding: 0;
        }

        .quickview-content {
            display: flex;
            flex-direction: row;
        }

        .quickview-image {
            flex: 1;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
        }

        .quickview-image img {
            max-width: 100%;
            max-height: 400px;
            object-fit: contain;
        }

        .quickview-info {
            flex: 1;
            padding: 40px;
        }

        .quickview-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .quickview-category {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 15px;
            display: block;
        }

        .quickview-price {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .quickview-old-price {
            font-size: 1.25rem;
            color: var(--gray);
            text-decoration: line-through;
            margin-left: 10px;
        }

        .quickview-description {
            color: var(--gray);
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .quickview-features {
            margin-bottom: 25px;
        }

        .quickview-feature {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: var(--dark);
        }

        .quickview-feature i {
            color: var(--primary);
            margin-right: 10px;
            width: 20px;
        }

        .quickview-actions {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .btn-quickview {
            flex: 1;
            padding: 15px 25px;
        }

        .btn-quickview-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
        }

        .btn-quickview-primary:hover {
            background: linear-gradient(135deg, var(--primary-dark), #03415c);
        }

        .btn-quickview-secondary1 {
            background: transparent !important;
            color: var(--primary) !important;
            border: 2px solid var(--primary) !important;
        }

        .btn-quickview-secondary1:hover {
            background: var(--primary) !important;
            color: white !important;
        }
        
        /* Footer */
        .footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 0;
        }
        
        .footer h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: var(--primary);
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #cfd6e1;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--primary);
        }
        
        .footer-bottom {
            background: #1d242d;
            padding: 20px 0;
            margin-top: 40px;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .product-actions {
                flex-direction: column;
            }
            
            .product-image {
                height: 220px;
            }
            
            .product-body {
                padding: 20px;
            }
            
            .products-section {
                padding: 60px 0;
            }

            .quickview-content {
                flex-direction: column;
            }

            .quickview-image {
                padding: 20px;
            }

            .quickview-info {
                padding: 25px;
            }

            .quickview-actions {
                flex-direction: column;
            }

            /* Увеличиваем отступы между карточками на мобильных */
            .product-card {
                margin-bottom: 30px;
            }
        }

        /* Дополнительные отступы для очень маленьких экранов */
        @media (max-width: 576px) {
            .product-card {
                margin-bottom: 25px;
            }
            
            .products-section .row > [class*="col-"] {
                margin-bottom: 20px;
            }
        }





/* Стили для современной секции категорий */
.categories-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
    position: sticky;
    top: 20px;
}

.categories-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #212934;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #109bd1;
    position: relative;
}

.categories-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #109bd1;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 155, 209, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-item:hover {
    background: #fff;
    border-color: #109bd1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 155, 209, 0.15);
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, #109bd1, #045e81);
    transform: scale(1.1);
}

.category-item:hover .category-name {
    color: #109bd1;
}

.category-item:hover .category-arrow {
    transform: translateX(4px);
    color: #109bd1;
}

.category-icon {
    width: 44px;
    height: 44px;
    background: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-icon i {
    color: #6c757d;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.category-item:hover .category-icon i {
    color: #fff;
}

.category-name {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    transition: color 0.3s ease;
}

.category-arrow {
    color: #adb5bd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Активный состояние категории */
.category-item.active {
    background: linear-gradient(135deg, #109bd1, #045e81);
    border-color: #109bd1;
}

.category-item.active .category-icon {
    background: rgba(255, 255, 255, 0.2);
}

.category-item.active .category-icon i,
.category-item.active .category-name,
.category-item.active .category-arrow {
    color: #fff;
}

/* Адаптивность для категорий */
@media (max-width: 1199px) {
    .categories-sidebar {
        padding: 20px;
    }
    
    .category-item {
        padding: 14px 16px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .category-name {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .categories-sidebar {
        margin-bottom: 30px;
        position: static;
    }
    
    .categories-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .category-item {
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .categories-sidebar {
        padding: 20px;
        border-radius: 12px;
    }
    
    .categories-list {
        gap: 6px;
    }
    
    .category-item {
        padding: 16px 20px;
    }
    
    .category-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .category-icon i {
        font-size: 1rem;
    }
    
    .category-name {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .categories-sidebar {
        padding: 16px;
    }
    
    .categories-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .category-item {
        padding: 14px 16px;
    }
    
    .category-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
        border-radius: 8px;
    }
    
    .category-icon i {
        font-size: 0.9rem;
    }
    
    .category-name {
        font-size: 0.95rem;
    }
    
    .category-arrow {
        font-size: 0.8rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 375px) {
    .categories-sidebar {
        padding: 12px;
    }
    
    .category-item {
        padding: 12px;
    }
    
    .category-icon {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    
    .category-name {
        font-size: 0.9rem;
    }
}

/* Анимации */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-item {
    animation: slideIn 0.4s ease-out forwards;
}

.category-item:nth-child(1) { animation-delay: 0.1s; }
.category-item:nth-child(2) { animation-delay: 0.2s; }
.category-item:nth-child(3) { animation-delay: 0.3s; }
.category-item:nth-child(4) { animation-delay: 0.4s; }
.category-item:nth-child(5) { animation-delay: 0.5s; }



/* Основные стили для секции на главной странице */
.certificate-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.certificate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%23109bd1" points="1000,1000 0,1000 0,0 1000,0"/></svg>');
    background-size: 200px 200px;
}

.certificate-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовок с иконкой */
.certificate-header {
    text-align: center;
    margin-bottom: 50px;
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #109bd1, #045e81);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(16, 155, 209, 0.3);
    animation: float 3s ease-in-out infinite;
}

.certificate-icon i {
    color: white;
    font-size: 2rem;
}

.certificate-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #212934;
    margin-bottom: 20px;
    line-height: 1.2;
}

.certificate-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #109bd1, #045e81);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Карточки особенностей */
.certificate-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 155, 209, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #109bd1;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #109bd1, #045e81);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #212934;
    margin-bottom: 12px;
}

.feature-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}

/* Специальные стили для выделенной карточки */
.highlight-card {
    background: linear-gradient(135deg, #fff, #f8f9ff);
    border: 2px solid #109bd1;
    position: relative;
}

.highlight-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #109bd1, #29b74e);
}

.highlight-card .feature-icon {
    background: linear-gradient(135deg, #29b74e, #1e8c42);
}

.highlight-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #29b74e, #1e8c42);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Призыв к действию */
.certificate-cta {
    background: linear-gradient(135deg, #109bd1, #045e81);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.certificate-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #109bd1;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #045e81;
}

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

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

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Адаптивность */
@media (max-width: 1200px) {
    .certificate-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certificate-hero {
        padding: 40px 0;
    }
    
    .certificate-title {
        font-size: 2rem;
    }
    
    .certificate-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .certificate-cta {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .certificate-info {
        gap: 15px;
    }
    
    .info-badge {
        padding: 10px 16px;
    }
}

@media (max-width: 576px) {
    .certificate-title {
        font-size: 1.75rem;
    }
    
    .certificate-icon {
        width: 70px;
        height: 70px;
    }
    
    .certificate-icon i {
        font-size: 1.75rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.3rem;
    }
    
    .feature-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-content h3 {
        font-size: 1.2rem;
    }
    
    .certificate-info {
        flex-direction: column;
        align-items: center;
    }
    
    .info-badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
}

/* Анимация появления элементов */
.certificate-header,
.feature-card,
.certificate-cta,
.info-badge {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.certificate-cta { animation-delay: 0.5s; }
.info-badge:nth-child(1) { animation-delay: 0.6s; }
.info-badge:nth-child(2) { animation-delay: 0.7s; }
.info-badge:nth-child(3) { animation-delay: 0.8s; }

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







/* Основные стили секции статьи*/
.articles-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><polygon fill="%23109bd1" points="0,0 1000,0 1000,1000 0,1000"/></svg>');
    background-size: 150px 150px;
}

/* Заголовок секции */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #212934;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #109bd1, #045e81);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Сетка статей */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Карточка статьи */
.article-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 155, 209, 0.05), transparent);
    transition: left 0.6s ease;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

/* Контент статьи */
.article-content {
    padding: 30px;
}

.article-category {
    background: linear-gradient(135deg, #109bd1, #045e81);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.article-title {
    margin-bottom: 15px;
}

.article-title a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #212934;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: block;
}

.article-title a:hover {
    color: #109bd1;
}

.article-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.article-excerpt b {
    color: #212934;
}

/* Особенности статьи */
.article-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #495057;
}

.feature i {
    color: #109bd1;
    font-size: 0.9rem;
    width: 16px;
}

/* Футер статьи */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #109bd1;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #045e81;
    gap: 12px;
}

.read-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.stat i {
    font-size: 0.8rem;
}


/* Анимации */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.article-card,
.articles-cta {
    animation: fadeInUp 0.8s ease-out forwards;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.articles-cta { animation-delay: 0.3s; }

/* Адаптивность */
@media (max-width: 768px) {
    .articles-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-features {
        grid-template-columns: 1fr;
    }
    
    .articles-cta {
        padding: 40px 25px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .article-title a {
        font-size: 1.3rem;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .articles-cta {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
}




/* Стили для статьи kak-poluchit-invalidnost-bez-prokhozhdeniya-komissii */
.article-section {
    padding: 60px 0;
    background: #fff;
}

.article-content {
    margin: 0 auto;
}

/* Заголовок статьи */
.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #212934;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 1.2;
}

/* Тело статьи */
.article-body {
    line-height: 1.7;
    color: #495057;
    font-size: 1.1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #212934;
    margin: 3rem 0 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #109bd1;
}

.article-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #212934;
    margin: 2.5rem 0 1rem;
}

/* Вступительный блок */
.intro-block {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #109bd1;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    color: #212934;
}

/* Информационные карточки */
.info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 2rem 0;
    border: 1px solid #e9ecef;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-card-header i {
    color: #109bd1;
    font-size: 1.5rem;
}

.info-card-header h3 {
    margin: 0;
    color: #212934;
}

.info-card.certificate-info {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border: 2px solid #109bd1;
}

/* Списки */
.modern-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.modern-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    margin-bottom: 8px;
}

.modern-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    background: #109bd1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.modern-list ol {
    list-style: decimal;
    padding-left: 20px;
}

.modern-list ol li {
    padding-left: 10px;
}

.modern-list ol li::before {
    display: none;
}

/* Особенности с номерами */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    background: linear-gradient(135deg, #109bd1, #045e81);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

/* Блоки сравнения */
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 2rem 0;
}

.comparison-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-card.recommended {
    border-color: #e9ecef;
    background: white;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header i {
    color: #109bd1;
    font-size: 1.5rem;
}

.card-header h4 {
    margin: 10px;
    color: #212934;
}

.card-note {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.card-note i {
    color: #109bd1;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Блок требований */
.requirements {
    margin-top: 25px;
}

.requirements h4 {
    color: #212934;
    margin-bottom: 15px;
    font-size: 1.3rem !important;
}


/* Блок консультации */
.consultation-block {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin: 4rem 0 2rem;
    color: white;
    border: 1px solid #109bd1;
}

.consultation-header h2 {
    color: #000;
    border: none;
    margin-top: 0;
}

.consultation-header p {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.consultation-header a {
    color: ##109bd1;
    text-decoration: none;
}

.consultation-header a:hover {
    text-decoration: underline;
}

.consultation-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Кнопки в стиле общего дизайна */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    color: white;
}

/* Дополнительные стили */
.highlight-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin: 1.5rem 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.reference-block {
    background: #e8f4fd;
    border: 1px solid #109bd1;
    border-radius: 10px;
    padding: 20px;
    margin: 1.5rem 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.reference-icon {
    color: #109bd1;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.reference-link {
    color: #109bd1;
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
}

.reference-link:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr;
    }
    
    .consultation-block {
        padding: 30px 20px;
    }
    
    .consultation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
}

@media (max-width: 576px) {
    .article-section {
        padding: 40px 0;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-number {
        align-self: flex-start;
    }
    
}






/* Стили для статьи kak-kupit-slukhovoy-apparat-po-elektronnomu-sertifikatu-fss*/
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.location-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-5px);
    border-color: #109bd1;
    box-shadow: 0 8px 25px rgba(16, 155, 209, 0.15);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #109bd1, #045e81);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.location-icon i {
    color: white;
    font-size: 1.5rem;
}

.location-content h4 {
    margin: 0 0 5px 0;
    color: #212934;
    font-size: 1.1rem;
}

.location-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Документы */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 1.5rem 0;
}

.document-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #109bd1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.document-number {
    background: linear-gradient(135deg, #109bd1, #045e81);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.document-content {
    flex: 1;
}

.document-content strong {
    color: #212934;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.document-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Процесс использования */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 2rem 0;
}

.process-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #109bd1, #045e81);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(16, 155, 209, 0.3);
}

.step-content {
    flex: 1;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: #109bd1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-content h4 {
    margin: 0 0 10px 0;
    color: #212934;
    font-size: 1.2rem;
}

.step-content p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

.step-content a {
    color: #109bd1;
    text-decoration: none;
    font-weight: 600;
}

.step-content a:hover {
    text-decoration: underline;
}

/* Преимущества */
.advantages-card {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border: 2px solid #109bd1;
}

.advantages-grid {
    display: grid;
    gap: 20px;
}

.advantage-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #109bd1, #045e81);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    color: white;
    font-size: 1.2rem;
}

.advantage-content {
    flex: 1;
}

.advantage-content h4 {
    margin: 0 0 8px 0;
    color: #212934;
    font-size: 1.1rem;
}

.advantage-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Адаптивность для этой статьи */
@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-number {
        align-self: center;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .document-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .document-number {
        align-self: center;
    }
}

@media (max-width: 576px) {
    .location-item {
        padding: 15px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .advantage-icon {
        align-self: center;
    }
}

/* Анимации для новых элементов */
.locations-grid,
.documents-list,
.process-steps,
.advantages-grid {
    animation: fadeInUp 0.6s ease-out forwards;
}

.locations-grid { animation-delay: 0.1s; }
.documents-list { animation-delay: 0.2s; }
.process-steps { animation-delay: 0.3s; }
.advantages-grid { animation-delay: 0.4s; }

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

/* Страница о компании*/

/* Социальная карточка о компании*/
.social-card {
    border: 2px solid #109bd1;
}

.social-content p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
}

/* Карточки с информацией */
.info-card, .partners-card, .social-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    overflow: hidden;
}

.info-card-header, .partners-header, .social-header {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e9ecef;
}

.info-card-header i, .partners-header i, .social-header i {
    color: #109bd1;
    font-size: 1.5rem;
}

.info-card-header h3, .partners-header h3, .social-header h3 {
    margin: 0;
    color: #212934;
    font-size: 1.5rem;
}

.info-card-body, .partners-body, .social-body {
    padding: 2rem;
}



/* Блок контакты*/

        .container-fluid {
            width: 100%;
            padding: 2rem 1rem;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .intro-block {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            padding: 30px;
            border-radius: 15px;
            border-left: 4px solid #109bd1;
            margin-bottom: 3rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .h1 {
            color: #212934;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .section-title {
            color: #212934;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;
            text-align: center;
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(135deg, #109bd1, #045e81);
            border-radius: 2px;
        }

        /* Сетка городов */
        .cities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        /* Карточка города */
        .city-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .city-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(135deg, #109bd1, #045e81);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .city-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .city-card:hover::before {
            opacity: 1;
        }

        .city-name {
            color: #212934;
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #f8f9fa;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
        }

        .contact-item i {
            color: #109bd1;
            width: 16px;
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .contact-item span {
            color: #495057;
            line-height: 1.5;
        }

        .contact-item a {
            color: #109bd1;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-item a:hover {
            color: #045e81;
            text-decoration: underline;
        }

        /* Поиск и фильтры */
        .search-container {
            margin-bottom: 2rem;
        }

        .search-box {
            position: relative;
            max-width: 500px;
            margin: 0 auto 1.5rem;
        }

        .search-input {
            width: 100%;
            padding: 12px 20px 12px 45px;
            border: 2px solid #e9ecef;
            border-radius: 50px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #109bd1;
            box-shadow: 0 0 0 3px rgba(16, 155, 209, 0.1);
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
        }

        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 8px 16px;
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .filter-btn:hover, .filter-btn.active {
            background: #109bd1;
            color: white;
            border-color: #109bd1;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .cities-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .city-card {
                padding: 1.25rem;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
            
            .intro-block {
                padding: 1.5rem;
            }
            
            .h1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 576px) {
            .container-fluid {
                padding-left: 15px;
                padding-right: 15px;
            }
            
            .city-card {
                padding: 1rem;
            }
            
            .contact-item {
                flex-direction: column;
                gap: 0.3rem;
            }
            
            .contact-item i {
                align-self: flex-start;
            }
            
            .filter-buttons {
                gap: 0.5rem;
            }
            
            .filter-btn {
                padding: 6px 12px;
                font-size: 0.9rem;
            }
        }

        /* Анимации */
        .city-card {
            animation: fadeInUp 0.5s ease-out forwards;
            opacity: 0;
            transform: translateY(20px);
        }

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

        /* Задержки для анимации карточек */
        .city-card:nth-child(1) { animation-delay: 0.05s; }
        .city-card:nth-child(2) { animation-delay: 0.1s; }
        .city-card:nth-child(3) { animation-delay: 0.15s; }
        .city-card:nth-child(4) { animation-delay: 0.2s; }
        .city-card:nth-child(5) { animation-delay: 0.25s; }
        .city-card:nth-child(6) { animation-delay: 0.3s; }
        .city-card:nth-child(7) { animation-delay: 0.35s; }
        .city-card:nth-child(8) { animation-delay: 0.4s; }
        .city-card:nth-child(9) { animation-delay: 0.45s; }
        .city-card:nth-child(10) { animation-delay: 0.5s; }







/*Карточка товара */
/* Общие стили для текста */
.product-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #109bd1;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Секция рейтинга */
.rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.stars {
    display: flex;
    gap: 3px;
}

.rating-text {
    font-weight: 600;
    color: #495057;
    font-size: 1.1rem;
}

/* Сетка характеристик */
.specs-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.spec-item:hover {
    border-color: #109bd1;
    box-shadow: 0 2px 8px rgba(16, 155, 209, 0.1);
    transform: translateX(5px);
}

.spec-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 180px;
    flex-shrink: 0;
}

.spec-value {
    color: #495057;
    line-height: 1.5;
}

/* Разделители */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #109bd1, transparent);
    margin: 2.5rem 0;
    border: none;
}

/* Секция преимуществ */
.section-heading {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-left: 15px;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #109bd1, #24a9b4);
    border-radius: 2px;
}

.benefits-list {
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, #f8fdff, #e3f4ff);
    border-radius: 12px;
    border: 1px solid #d1ecff;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 155, 209, 0.15);
}

.benefit-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #24a9b4, #109bd1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-content {
    flex: 1;
    color: #495057;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
}

/* Секция описания */
.description-section {
    margin-bottom: 2rem;
}

.description-content {
    line-height: 1.7;
    color: #495057;
}

.description-paragraph {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: justify;
}

.drop-cap {
    float: left;
    font-size: 3.5rem;
    line-height: 3rem;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    padding-left: 0;
    font-weight: 700;
    color: #109bd1;
}

.highlight-box {
    background: linear-gradient(135deg, #f8fdff, #e3f4ff);
    border: 1px solid #d1ecff;
    border-radius: 10px;
    padding: 20px;
    margin: 1.5rem 0;
    border-left: 4px solid #89ceff;
}

.highlight-box p {
    margin: 0;
    color: #2c3e50;
    font-weight: 500;
}

/* Сетка особенностей */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

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

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #109bd1;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-text {
    color: #495057;
    line-height: 1.5;
}

.feature-text strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .spec-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .spec-label {
        min-width: auto;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .drop-cap {
        float: none;
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .rating-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Анимации */
.benefit-item,
.feature-card,
.spec-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
</style>

/* Стили для улучшенных кнопок */
.btn-modern {
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    margin: 0 10px;
    min-width: 200px;
}

.btn-question {
    background: linear-gradient(135deg, #109bd1, #0b7aa8);
    color: white;
}

.btn-order {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-question:hover {
    box-shadow: 0 8px 25px rgba(16, 155, 209, 0.4);
}

.btn-order:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-modern:active {
    transform: translateY(-1px);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-text {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Кнопки в модальных окнах */
.btn-modern-submit {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    float: right;
}

.btn-modern-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-modern-submit:active {
    transform: translateY(0);
}

.btn-modern-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-modern-submit:hover::before {
    left: 100%;
}

/* Адаптивность */
@media (max-width: 768px) {
    .btn-modern {
        padding: 12px 30px;
        font-size: 1.1rem;
        min-width: 160px;
        margin: 5px;
    }
    
    .btn-modern-submit {
        padding: 10px 25px;
        font-size: 0.9rem;
        float: none;
        width: 100%;
    }
    
    .text-center .btn-modern {
        display: block;
        margin: 10px auto;
    }
}

/* Состояния фокуса */
.btn-modern:focus,
.btn-modern-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
}

.btn-question:focus {
    box-shadow: 0 0 0 3px rgba(16, 155, 209, 0.3);
}

.btn-order:focus {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.btn-modern-submit:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}







/* шапка сайта*/

        /* Стили для верхней навигации (черный фон) */
        #templatemo_nav_top {
            min-height: 50px;
            background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
            border-bottom: 1px solid #444;
        }

        #templatemo_nav_top * {
            font-size: 14px !important;
        }

        #templatemo_nav_top .container {
            padding-top: 8px;
            padding-bottom: 8px;
        }

        .navbar-sm-brand {
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .navbar-sm-brand:hover {
            color: #109bd1 !important;
            transform: translateY(-1px);
        }

        .navbar-sm-brand::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: #109bd1;
            transition: width 0.3s ease;
        }

        .navbar-sm-brand:hover::after {
            width: 100%;
        }

        #templatemo_nav_top .fa {
            color: #109bd1;
            transition: transform 0.3s ease;
        }

        #templatemo_nav_top a:hover + .fa,
        #templatemo_nav_top .fa:hover {
            transform: scale(1.1);
        }

        /* Стили для основной навигации (белый фон) */
        .navbar-light.shadow {
            background: white !important;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
            padding: 15px 0;
        }

        #templatemo_main_nav a {
            color: #2c3e50;
            font-weight: 600;
            font-size: 16px;
            padding: 10px 20px;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
        }

        #templatemo_main_nav a:hover {
            color: #109bd1;
            background: linear-gradient(135deg, #f8fdff, #e3f4ff);
            transform: translateY(-2px);
        }

        #templatemo_main_nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #109bd1, #24a9b4);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        #templatemo_main_nav a:hover::before {
            width: 80%;
        }

        .navbar-brand img {
            transition: transform 0.3s ease;
            max-height: 50px;
        }

        .navbar-brand:hover img {
            transform: scale(1.05);
        }

        /* Стили для кнопки "Заказать звонок" */
        .btn-call {
            background: linear-gradient(135deg, #109bd1, #0b7aa8);
            border: none;
            border-radius: 25px;
            padding: 12px 30px;
            font-weight: 600;
            font-size: 16px;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(16, 155, 209, 0.3);
            position: relative;
            overflow: hidden;
            min-width: 210px;
        }

        .btn-call:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(16, 155, 209, 0.4);
            color: white;
        }

        .btn-call:active {
            transform: translateY(-1px);
        }

        .btn-call::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-call:hover::before {
            left: 100%;
        }

        /* Адаптивность */
        @media (max-width: 991px) {
            #templatemo_main_nav a {
                padding: 8px 15px;
                margin: 2px 0;
                text-align: center;
            }

            .navbar-collapse {
                background: white;
                padding: 20px;
                border-radius: 10px;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
                margin-top: 10px;
            }

            .btn-call {
                margin-top: 15px;
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            #templatemo_nav_top .container > div {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            #templatemo_nav_top .fa {
                margin: 0 5px;
            }
        }

        /* Анимации */
        .nav-item {
            animation: fadeInDown 0.6s ease-out forwards;
            opacity: 0;
            transform: translateY(-10px);
        }

        .nav-item:nth-child(1) { animation-delay: 0.1s; }
        .nav-item:nth-child(2) { animation-delay: 0.2s; }
        .nav-item:nth-child(3) { animation-delay: 0.3s; }
        .nav-item:nth-child(4) { animation-delay: 0.4s; }

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

        /* Кнопка бургер-меню */
        .navbar-toggler {
            border: 2px solid #109bd1;
            padding: 8px;
            transition: all 0.3s ease;
        }

        .navbar-toggler:hover {
            background: #109bd1;
        }

        .navbar-toggler:hover .navbar-toggler-icon {
            filter: invert(1);
        }

        .navbar-toggler-icon {
            transition: all 0.3s ease;
            width: 20px;
            height: 20px;
        }


/* кнопки в карточках товаров*/

.btn1 {
    flex: 1 !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important ;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.btn-modern1 {
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 50px !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 10px !important;
    min-width: 200px !important;
}

.btn-question1 {
    background: linear-gradient(135deg, #109bd1, #0b7aa8);
    color: white;
}

.btn-order1 {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-modern1:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-question1:hover {
    box-shadow: 0 8px 25px rgba(16, 155, 209, 0.4);
}

.btn-order1:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-modern1:active {
    transform: translateY(-1px);
}

.btn-modern1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-modern1:hover::before {
    left: 100%;
}

.btn-text1 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
    font-weight: 500;
}


/* Кнопки в модальных окнах */
.btn-modern-submit {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    float: right;
}

.btn-modern-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-modern-submit:active {
    transform: translateY(0);
}

.btn-modern-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-modern-submit:hover::before {
    left: 100%;
}