/* Стили для секции "Как мы работаем?" */
.expertise-timeline {
    padding: 50px 0;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Заголовок секции */
.expertise-timeline .section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #29325a;
    font-weight: bold;
}

/* Контейнер таймлайна */
.timeline {
    width: 81%;
    max-width: 1400px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Элемент таймлайна */
.timeline__item {
    position: relative;
    background: #fff;
    padding: 20px 30px;
    border-left: 4px solid #29325a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Окружность у левого края элемента */
.timeline__item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translate(0, -50%);
    width: 18px;
    height: 18px;
    background: #29325a;
    border-radius: 0;
    border: 3px solid white;
}

/* Заголовки внутри таймлайна */
.timeline__item h3 {
    margin: 0;
    font-size: 22px;
    color: #29325a;
    font-weight: 600;
}

/* Текст описания в элементах таймлайна */
.timeline__item p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}


/* Стили для секции "Наши истории успеха" */
.expertise-gallery {
    width: 81%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 50px 20px;
    background-color: white;
}

/* Заголовок секции */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #29325a;
    font-weight: bold;
}

/* Контейнер галереи */
.expertise-gallery .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Элементы галереи */
.gallery__item {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

/* Эффект при наведении */
.gallery__item:hover {
    transform: translateY(-5px);
}

/* Изображения в элементах галереи */
.gallery__item img {
    width: 100%;
    display: block;
}

/* Заголовки внутри галереи */
.expertise-gallery .gallery__item h3 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #29325a;
}

/* Текст описания */
.expertise-gallery .gallery__item p {
    padding: 0 15px 15px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.expertise-faq,
.expertise-advantages {
    padding: 40px 20px;
    background: #f8f9fa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #4a4a4a;
    margin-bottom: 40px;
}

.faq-item {
    width: 81%;
    max-width: 1400px;

    margin: 0 auto;
    
    background: white;
    box-sizing: border-box;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 5px solid #29325a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.expertise-advantages ul {
    list-style: none;
    padding: 0;
}

.expertise-advantages li {
    font-size: 18px;
    color: #444;
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
}

.expertise-advantages li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #6c63ff;
    font-size: 20px;
}