/* --- LÍNEA DE TIEMPO Y CONTENIDO NOSOTROS --- */
.timeline-container-main {
    width: 90%;
    max-width: 1000px;
    margin: 60px auto;
}

.timeline-intro,
.timeline-present {
    background-color: #ffffff;
    padding: 38px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-intro {
    text-align: center;
}

.timeline-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.intro-p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

.timeline-present h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-top: 0;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.timeline-present p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-info .sep {
    opacity: 0.4;
}

.top-badge span {
    background-color: rgba(78, 189, 223, 0.2);
    color: var(--accent-blue);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Eje Vertical */
.timeline {
    position: relative;
    padding: 20px 0;
    margin-bottom: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--accent-blue) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Nodos Indicadores */
.timeline-dot {
    position: absolute;
    top: 25px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px var(--dark-blue);
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -13px;
}

.timeline-item.right .timeline-dot {
    left: -13px;
}

/* Tarjeta del evento */
.timeline-content {
    padding: 25px;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-date {
    display: inline-block;
    font-weight: 800;
    color: var(--dark-blue);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.timeline-content h3 {
    margin: 0 0 12px 0;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.timeline-content p {
    margin: 0 0 10px 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Animaciones con Scroll */
.timeline-item {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-item.left {
    transform: translateX(-50px);
}

.timeline-item.right {
    transform: translateX(50px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Adaptación Móvil */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
        transform: translateX(30px);
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 11px;
    }
}