
/* =========================
   TRAYECTORIA
========================= */

.trayectoria-section{
    padding: 15px 0;
    overflow: hidden;
}

.trayectoria-header{
    text-align: center;
    margin-bottom: 30px;
}

.timeline{
    position: relative;
    max-width: 900px;
    margin: auto;
}

.timeline::before{
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #dbeafe;
}

.timeline-item{
    position: relative;
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.timeline-item.show{
    opacity: 1;
    transform: translateY(0);
}

.timeline-year{
    min-width: 120px;
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary);
    position: relative;
}

.timeline-year::after{
    content: '';
    position: absolute;
    right: -21px;
    top: 18px;
    width: 18px;
    height: 18px;
    background: #ffb579;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 0 0 4px #dbeafe;
}

.timeline-content{
    background: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
    border: 1px solid #e2e8f0;
    flex: 1;
}

.timeline-content h3{
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 15px;
}

.timeline-content p{
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
}

/* RESPONSIVE */

@media(max-width:768px){

    .trayectoria-section{
        padding: 80px 0;
    }

    .timeline::before{
        left: 20px;
    }

    .timeline-item{
        flex-direction: column;
        padding-left: 50px;
        gap: 20px;
    }

    .timeline-year{
        font-size: 34px;
        min-width: auto;
    }

    .timeline-year::after{
        left: -39px;
        right: auto;
    }

    .timeline-content{
        padding: 28px;
    }

}

