

.breadcrumbs {
    display: flex;
    list-style: none;
    margin-bottom: 20px;
}

.breadcrumbs li {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.breadcrumbs__icon {
    width: 16px;
    margin-right: 5px;
}

.hero-page__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-page__col {
    flex: 1;
}

.hero-page__title {
    font-size: 82px;
    font-weight: bold;
    color: #333;
    font-family: auto;
}

.hero-page__text {
    font-size: 22px;
    color: #8b6b4d;
    max-width: 600px;
    margin-left: auto;
}
/* Основные настройки */
.steps__row {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 60px;
}

.steps__col {
    flex: 1;
    position: relative;
}

.steps__col--media {
    max-width: 50%;
}

.steps__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.steps__media-img {
    width: 80%; /* Уменьшаем ширину изображения */
    height: auto; /* Автоматическая высота для сохранения пропорций */
    object-fit: cover;
    border-radius: 10px;
    margin-left: 100px; /* Убираем отступ слева */
    margin-right: 0; /* Убираем отступ справа */
}


.steps__col-sm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    width: 10%;
    z-index: 1;
}

.steps__line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0;
    background-color: #ccc;
    z-index: -1;
    transition: height 0.6s ease-in-out;
}

.steps__round {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #514141;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.steps__background-number {
    font-size: 150px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.steps__content {
  margin-left: 20px;
    padding: 20px;
}

.steps__number {
    font-size: 82px;
    font-weight: bold;
    color: #a67c52;
    margin-bottom: 10px;
}

.steps__title {
    font-size: 70px;
    font-weight: bold;
    font-family: auto;
    margin-bottom: 15px;
}

.steps__text p {
    font-size: 16px;
    line-height: 1.6;
}

/* Анимации */
.steps__row.in-view .steps__line {
    height: 100%;
}

.steps__row.in-view .steps__round {
    background-color: #666;
}

.highlight-title {
    display: block; /* Відокремлює заголовок у свій блок */
    font-size: 30px; /* Збільшує розмір шрифту */
    font-weight: 600; /* Жирний текст */
    color: #a67c52; /* Темно-синій колір */
    margin-top: 25px; /* Відступ зверху */
    text-transform: uppercase; /* Великі літери */
    letter-spacing: 1px; /* Розрідженість між літерами */
    font-family: auto; /* Задаємо шрифт */
    position: relative; /* Для розташування псевдоелементів */
}

.steps__line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: #333;
    z-index: -1;
    transition: height 0.3s ease; /* Плавное изменение высоты */
}
.steps__col-sm {
    position: relative; /* Обеспечивает правильное позиционирование внутри контейнера */
}

/* Mobile Adaptations */
@media (max-width: 768px) {
    .hero-page__block {
        padding: 40px;
    }

    .breadcrumb {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumbs li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .hero-page__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-page__title {
        font-size: 40px;
    }

    .hero-page__text {
        font-size: 18px;
        max-width: 100%;
        margin-left: 0;
    }

    /* Steps section mobile adaptations */
    .steps__row {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .steps__col--media {
        max-width: 100%;
    }

    .steps__media-img {
        width: 100%;
        margin-left: 0;
    }

    .steps__col-sm {
        width: 100%;
        margin-bottom: 20px; /* Adding space between steps */
    }

    .steps__round {
        width: 15px;
        height: 15px;
    }

    .steps__number {
        font-size: 60px;
    }

    .steps__title {
        font-size: 40px;
    }

    .steps__content {
        margin-left: 10px;
        padding: 15px;
    }

    .steps__text p {
        font-size: 14px;
    }
}
