.main_template_about_servicios {
    .content_process {
        margin-bottom: 0px;
    }
}

.content_process {
    h2 {
        text-align: center;
        font-weight: 500;
        color: var(--primary-color);
        margin-bottom: 65px;
    }

    .timeline-container {
        .timeline-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 72px;
            padding-bottom: 70px;
            position: relative;

            &:nth-child(even) {
                flex-direction: row-reverse;

                .timeline-image {
                    width: 439px;
                    display: flex;
                    justify-content: start;
                }

                .timeline-content {
                    width: 444px;
                    text-align: end;
                }
            }

            .timeline_number {
                h3 {
                    font-size: 80px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 50px;
                    color: var(--primary-color);
                    position: relative;
                    z-index: 2;
                    background: #F3F4F6;
                    padding: 46px 0px;
                }

                &::after {
                    content: '';
                    position: absolute;
                    top: 0px;
                    bottom: 0px;
                    left: 50.5%;
                    width: 1px;
                    background-color: var(--quaternary-color);
                    transform: translateX(-50.5%);
                    z-index: 1;
                }
            }

            .timeline-image {
                width: 444px;
                display: flex;
                justify-content: end;

                img {
                    width: 285px;
                    height: 224px;
                }
            }

            .timeline-content {
                width: 439px;
                text-align: start;

                p,
                h3 {
                    color: var(--primary-color);
                }

                h3 {
                    margin-bottom: 25px;
                }

                .number {
                    display: none;
                }
            }

        }

        .timeline-item:first-child .timeline_number::after {
            top: 50%;
        }

        .timeline-item:last-child .timeline_number::after {
            bottom: 50%;
        }

    }

}

@media screen and (max-width: 767px) {
    .content_process {
        h2 {
            margin-bottom: 60px;
        }

        .timeline-container {
            .timeline-item {
                flex-direction: column-reverse;
                gap: 40px;

                &:nth-child(even) {
                    flex-direction: column-reverse;

                    .timeline-image {
                        width: auto;
                        justify-content: center;
                    }

                    .timeline-content {
                        width: auto;
                        text-align: start;
                    }
                }

                .timeline_number {
                    display: none;

                    &::after {
                        display: none;
                    }
                }

                .timeline-image {
                    width: auto;
                    justify-content: center;

                    img {
                        width: 285px;
                        height: 224px;
                    }
                }

                .timeline-content {
                    width: auto;
                    text-align: start;
                    display: flex;
                    flex-wrap: wrap;

                    .number {
                        display: block;
                        margin-right: 20px;
                        font-size: 40px;
                    }

                }
            }
        }
    }
}

@media screen and (max-width: 576px) {

    .main_template_about_servicios {
        .content_process {
            margin-bottom: 0px;
        }
    }

    .content_process {
        .timeline-container {
            .timeline-item {
                .timeline-content {
                    .title {
                        max-width: 270px;
                    }
                }
            }
        }
    }

}