/* =====================================================
   TIMELINE SECTION
   ===================================================== */

.cp-timeline {
    padding: 140px 0 123px;
}

/* Two-column layout */

.cp-timeline__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left column */

.cp-timeline__left {
    position: sticky;
    top: 100px;
}

.cp-timeline__label {
    display: inline-block;
    margin-bottom: 20px;
    font-family: 'MonoBlack', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 10%;
    background: linear-gradient(90deg, #FF9626 0%, #FFB15D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.cp-timeline__heading {
    margin: 0 0 24px;
    font-family: "SF UI Display", sans-serif;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #F7F7F7;
    text-transform: none;
}

.cp-timeline__desc {
    margin: 0 0 46px;
    font-family: "SF UI Display", sans-serif;
    color: #B9B9BA;
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 3%;
    max-width: 580px;
}

/* FAQ accordion */

.cp-timeline__faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-timeline__faq-item {
    background: #141517;
    border: 1px solid #1E1E1F;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.22s ease;
    max-width: 535px;
}

.cp-timeline__faq-item.is-open {
    border-color: rgba(247, 247, 247, 0.1);
}

.cp-timeline__faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "SF UI Display", sans-serif;
    color: #F7F7F7;
    transition: color 0.2s ease;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 1%;
}

.cp-timeline__faq-header:hover {
    color: #FF9626;
}

.cp-timeline__faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-timeline__faq-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-timeline__faq-item.is-open .cp-timeline__faq-body {
    max-height: 400px;
}

.cp-timeline__faq-answer {
    padding: 0 20px 18px;
    font-family: "SF UI Display", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(247, 247, 247, 0.55);
}

.cp-timeline__faq-answer ul {
    padding-left: 30px;
}

.cp-timeline__faq-answer li {
    font-family: "SF UI Display", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(247, 247, 247, 0.55);
}

/* Right column — steps */

.cp-timeline__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 780px;
    overflow-y: scroll;
    scrollbar-width: none;
    position: relative;
    padding-right: 4px;
}

.cp-timeline__right::-webkit-scrollbar {
    display: none;
}

.cp-timeline__right::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 160px;
    margin-top: -160px;
    background: linear-gradient(to top, #0B0D0F 0%, rgba(11, 13, 15, 0) 100%);
    pointer-events: none;
    flex-shrink: 0;
    transition: opacity 0.35s ease;
}

.cp-timeline__right.is-end::after {
    opacity: 0;
}

.cp-timeline__step{
    border: 1px solid #1E1E1F;
    border-radius: 22px;
    background-color: #141517;
    padding: 36px 34px 40px;
    position: relative;
}


.cp-timeline__step-day {
    display: block;
    margin-bottom: 18px;
    font-family: 'MonoBlack', sans-serif;
    color: #F7F7F7;
    font-weight: 100;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 10%;
}

.cp-timeline__step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cp-timeline__step-card:hover {
    border-color: rgba(247, 247, 247, 0.1);
}

/* Icon */

.cp-timeline__step-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.cp-timeline__step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Step content */

.cp-timeline__step-content {
    flex: 1;
    min-width: 0;
}

.cp-timeline__step-title {
    margin: 0 0 34px;
    font-family: "SF UI Display", sans-serif;
    color: #FF9626;
    text-transform: none;
    font-weight: 300;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -2%;
}

.cp-timeline__step-text {
    margin: 0;
    font-family: "SF UI Display", sans-serif;
    color: #D2D2D2;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 1%;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .cp-timeline__layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .cp-timeline__left {
        position: static;
    }
}

@media (max-width: 768px) {
    .cp-timeline {
        padding: 80px 0 100px;
    }

    .cp-timeline__heading {
        font-size: 32px;
    }

    .cp-timeline__step-card {
        padding: 20px;
    }

    .cp-timeline__step-title {
        font-size: 20px;
    }
}
