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

        body {
            background: white;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            line-height: 1.6;
        }

        .services-header {
            text-align: center;
            margin: 2rem auto 1.5rem;
            padding: 1rem 0 0 0;
        }

        .title-header {
            text-align: center;
            margin: 1rem auto 1rem;
        }

        .services-header h1 {
            font-family: var(--font-main);
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--color-primary);
            text-transform: uppercase;
            margin: 0;
            position: relative;
            display: inline-block;
        }

        .services-header h2 {
            font-family: var(--font-main);
            font-size: 1.3rem;
            font-weight: 400;
            color: var(--color-primary);
            text-transform: uppercase;
            margin: 0;
            position: relative;
            display: inline-block;
        }

        .title-header h3 {
            font-family: var(--font-main);
            font-size: 1.3rem;
            font-weight: 300;
            color: var(--color-primary);
            text-transform: uppercase;
            margin: 0;
            position: relative;
            display: inline-block;
        }

        /* Панель управления шириной */
        .width-controls {
            text-align: center;
            margin: 1rem auto 2rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 8px;
            max-width: 500px;
        }

        .width-controls label {
            font-family: var(--font-main);
            font-size: 1.1rem;
            color: var(--color-primary);
            margin-right: 1rem;
        }

        .width-controls input {
            width: 80px;
            padding: 0.5rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            text-align: center;
            font-family: var(--font-main);
        }

        .width-controls button {
            background: var(--color-primary);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin-left: 1rem;
            cursor: pointer;
            font-family: var(--font-main);
        }

        /* Общий контейнер для всех изображений */
        .main-gallery-container {
            width: 95%;
            max-width: 1200px;
            margin: 0 auto 3rem;
            padding: 2rem;
            background: white;
        }

        /* Контейнер для галереи - 1 колонка */
        .gallery-container {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        /* Элемент галереи */
        .gallery-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            margin: 20px 15px;
            padding: 20px 25px 20px 35px;
        }

        /* Контейнер для изображения и текста */
        .image-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow: hidden;
            border-radius: 8px;
            background: white;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border: 1px solid #e9ecef;
            /* Ширина по умолчанию */
            width: 80%;
            max-width: 100%;
        }

        /* Изображение */
        .gallery-image {
            width: 100%;
            height: auto;
            object-fit: contain;
            border-radius: 4px;
        }

        /* Текст внутри контейнера изображения */
        .image-text {
            font-family: var(--font-main);
            font-size: 1.2rem;
            font-weight: 400;
            color: var(--color-primary);
            text-align: center;
            margin-top: 1rem;
            padding: 1rem 1.5rem 0;
            background: white;
            border-radius: 6px;
            width: 100%;
            box-sizing: border-box;
            border-top: 1px solid #e9ecef;
        }

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

        .gallery-item {
            animation: fadeInUp 0.6s ease-out;
        }

        /* Задержки для анимации элементов */
        .gallery-item:nth-child(1) { animation-delay: 0.1s; }
        .gallery-item:nth-child(2) { animation-delay: 0.2s; }
        .gallery-item:nth-child(3) { animation-delay: 0.3s; }
        .gallery-item:nth-child(4) { animation-delay: 0.4s; }

        /* Разделитель между элементами */
        .gallery-item:not(:last-child)::after {
            content: '';
            display: block;
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, transparent, #e9ecef, transparent);
            margin: 2rem auto 0;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .main-gallery-container {
                width: 98%;
                padding: 1.5rem;
            }
            
            .gallery-container {
                gap: 2.5rem;
            }
            
            .services-header h1 {
                font-size: 1.8rem;
            }
            
            .services-header h2 {
                font-size: 1.1rem;
            }
            
            .image-text {
                font-size: 1.1rem;
                padding: 0.8rem 1.2rem 0;
            }
            
            .image-container {
                padding: 15px;
                width: 90%;
            }
        }

        @media (max-width: 480px) {
            .main-gallery-container {
                width: 100%;
                padding: 1rem;
            }
            
            .gallery-container {
                gap: 2rem;
            }
            
            .services-header {
                margin: 1.5rem auto 1rem;
            }
            
            .services-header h1 {
                font-size: 1.5rem;
            }
            
            .services-header h2 {
                font-size: 1rem;
            }
            
            .title-header h3 {
                font-size: 1.1rem;
            }
            
            .image-text {
                font-size: 1rem;
                padding: 0.7rem 1rem 0;
            }
            
            .image-container {
                padding: 10px;
                border-radius: 6px;
                width: 95%;
            }

            .width-controls {
                padding: 0.5rem;
            }

            .width-controls label {
                display: block;
                margin-bottom: 0.5rem;
            }

            .width-controls button {
                margin-left: 0;
                margin-top: 0.5rem;
                width: 100%;
            }
        }




            .subservice-text {
            font-family: var(--font-main);
            font-weight: lighter;
            font-size: 1.5rem;
            line-height: 1;
            color: #444;
            text-align: justify;
            text-indent: 25px;
        }

        .subservice-text-right {
            font-family: var(--font-main);
            font-weight: lighter;
            font-size: 1.5rem;
            line-height: 1;
            color: #444;
            text-align: right;
            text-indent: 25px;
        }
        
        /* Дополнительные адаптивные стили для текста */
.subservice-text .subservice-text-right {
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 480px) {
    .subservice-text .subservice-text-right{
        text-align: left;
        font-size: 21px;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
.subservice-text .subservice-text-right{
                font-size: 21px;
    }
}






/* Стили для цитат */
.blockquote-accent {
    border-left: 4px solid #3498db;
    padding: 25px 30px 25px 45px;
    margin: 10px 15px 10px 100px;
    font-style: italic;
    color: var(--color-primary);
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    line-height: 1.6;
    position: relative;
    font-family: var(--font-main);
}

.blockquote-accent::before {
    content: "\""; /* Экранированная кавычка */
    font-size: 3em;
    color: #3498db;
    opacity: 0.3;
    position: absolute;
    left: 15px;
    top: -10px;
    font-family: var(--font-main);
}

.blockquote-author {
    text-align: right;
    font-weight: 600;
    margin-top: 15px;
    color: #7f8c8d;
    font-style: normal;
    font-size: 0.9em;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .blockquote-accent {
        margin: 20px 15px;
        padding: 20px 25px 20px 35px;
    }
    
    .blockquote-accent::before {
        font-size: 2.5em;
        left: 10px;
    }
}
