/* ═══════════════════════════════════════════
   TIMELINE — La Nostra Storia
   ═══════════════════════════════════════════ */

/* ── Together counter ── */
.together-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}
.together-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--neon);
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-glow);
}

/* ── Large flip clock variant (storia section) ── */
.flip-clock.large {
    gap: 10px;
    align-self: center;
}
.flip-clock.large .flip-digit {
    width: 2.6rem;
    height: 3.6rem;
    font-size: 1.7rem;
    border-radius: 8px;
}

/* ── Timeline track ── */
.timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0.5rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 42, 133, 0.45) 6%,
        rgba(255, 42, 133, 0.45) 94%,
        transparent
    );
    transform: translateX(-50%);
}

/* ── Timeline items ── */
.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.2rem;
    align-items: start;
    position: relative;
    margin-bottom: 2.4rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

/* ── Dot node ── */
.timeline-dot {
    grid-column: 2;
    justify-self: center;
    margin-top: 0.3rem;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--neon);
    box-shadow: 0 0 10px var(--neon-glow);
    position: relative;
    z-index: 2;
}

/* ── Content blocks ── */
.timeline-content {
    grid-column: 1;
    text-align: right;
}
.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-date {
    font-size: 0.62rem;
    font-family: monospace;
    color: var(--neon);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.timeline-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
}

/* ── Final milestone ── */
.timeline-item.final .timeline-dot {
    width: 18px;
    height: 18px;
    background: var(--neon);
    box-shadow: 0 0 16px var(--neon-glow), 0 0 32px var(--neon-glow);
}
.timeline-item.final .timeline-title {
    color: var(--neon);
    text-shadow: 0 0 12px var(--neon-glow);
}
