
.timeline-itinerary{
    position:relative;
    padding-left:0;
}
.timeline-item{
    position:relative;
    display:grid;
    grid-template-columns:56px 1fr;
    gap:22px;
    padding-bottom:24px;
}
.timeline-item:last-child{
    padding-bottom:0;
}
.timeline-item:not(:last-child)::after{
    content:"";
    position:absolute;
    left:27px;
    top:54px;
    bottom:-4px;
    width:1px;
    border-left:1px dashed #d9d9d9;
}
.timeline-marker{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:8px;
}
.timeline-dot{
    width:18px;
    height:18px;
    border-radius:50%;
    background:#fff;
    border:3px solid #39b66a;
    display:block;
    transition:all .3s ease;
}
.timeline-item.active .timeline-dot{
    width:56px;
    height:56px;
    border:none;
    background:#39b66a;
    box-shadow:0 14px 30px rgba(57,182,106,.22);
    position:relative;
}
.timeline-item.active .timeline-dot::before{
    content:"\F3ED";
    font-family:"bootstrap-icons";
    color:#fff;
    font-size:24px;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
}
.timeline-card{
    border-bottom:1px solid #e7e7e7;
    padding-bottom:14px;
}
.timeline-toggle{
    width:100%;
    border:none;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:10px 0 12px;
    text-align:left;
}
.timeline-title{
    font-size:clamp(1.15rem, 2vw, 1.9rem);
    font-weight:800;
    color:#0e2038;
    line-height:1.35;
}
.timeline-icon{
    color:#8e949a;
    font-size:22px;
    transition:transform .3s ease;
    flex-shrink:0;
}
.timeline-item.active .timeline-icon{
    transform:rotate(180deg);
}
.timeline-content{
    display:none;
    padding:2px 0 8px;
}
.timeline-content.open{
    display:block;
}
.timeline-content-inner{
    color:#52606d;
    line-height:1.85;
    font-size:1rem;
    max-width:900px;
}

@media (max-width: 767.98px){
    .timeline-item{
        grid-template-columns:42px 1fr;
        gap:14px;
        padding-bottom:18px;
    }
    .timeline-item:not(:last-child)::after{
        left:20px;
        top:42px;
    }
    .timeline-dot{
        width:16px;
        height:16px;
    }
    .timeline-item.active .timeline-dot{
        width:40px;
        height:40px;
    }
    .timeline-item.active .timeline-dot::before{
        font-size:18px;
    }
    .timeline-title{
        font-size:1.02rem;
    }
    .timeline-icon{
        font-size:18px;
    }
}
