/* ================================================
   Timeline Card — Container with header + steps
   ================================================ */

.timeline-card {
    width: 100%;
    padding: 30px 50px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--light-warm);
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ── Header: icon box + title ── */
.timeline-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timeline-card__header-icon {
    width: 60px;
    height: 60px;
    background: var(--main-color);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-card__header-icon i {
    font-size: 24px;
    color: var(--white);
    transition: font-weight 0.2s ease, color 0.2s ease;
}

.timeline-card:hover .timeline-card__header-icon {
    background: var(--main-color-orange);
}

.timeline-card:hover .timeline-card__header-icon i {
    font-weight: 900;
}

.timeline-card__header-title {
    color: var(--dark1);
    font-size: 36px;
    font-family: var(--font-helvetica);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin: 0;
}

/* ── Items list ── */
.timeline-card__items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 10px;
}

/* ================================================
   Timeline Item — Single step
   ================================================ */

.timeline-item {
    display: flex;
    align-items: stretch;
    gap: 15px;
}

/* ── Left rail: marker + connector ── */
.timeline-item__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.timeline-item__marker {
    width: 40px;
    height: 40px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    border-radius: 50%;
    border: 2px solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-item__marker-text {
    color: var(--main-color);
    font-size: 16px;
    font-family: var(--font-helvetica);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-button);
}

.timeline-item__marker-icon i {
    font-size: 16px;
    color: var(--main-color);
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.timeline-item:hover .timeline-item__marker {
    border-color: var(--main-color-orange);
}

.timeline-item:hover .timeline-item__marker-text {
    color: var(--main-color-orange);
}

.timeline-item:hover .timeline-item__marker-icon i {
    color: var(--main-color-orange);
    font-weight: 900;
}

.timeline-item__connector {
    width: 2px;
    flex: 1;
    background: var(--main-color);
}

/* Hide connector on last item */
.timeline-item:last-child .timeline-item__connector {
    display: none;
}

/* ── Right content ── */
.timeline-item__content {
    flex: 1;
    padding-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item__title {
    color: var(--dark1);
    font-size: 20px;
    font-family: var(--font-helvetica);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin: 0;
}

.timeline-item__text {
    color: var(--dark1);
    font-size: 16px;
    font-family: var(--font-rubik);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    margin: 0;
}

/* ── Footer CTA ── */
.timeline-card__footer {
    padding: 30px;
    background: var(--light-warm);
    border-radius: var(--border-radius-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.timeline-card__footer-title {
    color: var(--dark1);
    font-size: 24px;
    font-family: var(--font-helvetica);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin: 0;
}

.timeline-card__footer-text {
    color: var(--dark1);
    font-size: 16px;
    font-family: var(--font-rubik);
    font-weight: var(--font-weight-regular);
    margin: 0;
}

.timeline-card__footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--main-color);
    color: var(--white);
    font-family: var(--font-helvetica);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-button);
    border-radius: var(--border-radius-small);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card__footer-cta:hover {
    background: var(--main-color-orange);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.timeline-card__footer-cta i {
    font-size: 16px;
}

/* ================================================
   Responsive
   ================================================ */

@media (max-width: 768px) {
    .timeline-card {
        padding: 24px 20px;
        gap: 30px;
    }

    .timeline-card__header-icon {
        width: 48px;
        height: 48px;
    }

    .timeline-card__header-icon i {
        font-size: 20px;
    }

    .timeline-card__header-title {
        font-size: 26px;
    }

    .timeline-card__items {
        padding-left: 0;
        gap: 20px;
    }

    .timeline-item__marker {
        width: 34px;
        height: 34px;
    }

    .timeline-item__marker-text {
        font-size: 14px;
    }

    .timeline-item__title {
        font-size: 18px;
    }

    .timeline-item__text {
        font-size: 15px;
    }
}
