/* Explain: Styling for the animated vertical process timeline component. */
.process-section {
    position: relative;
}

.pt-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pt-step {
    position: relative;
    padding-inline-start: 4.5rem;
    padding-bottom: 1.35rem;
    transition: opacity 640ms ease, transform 640ms ease;
}

.pt-list.is-animated .pt-step {
    opacity: 0;
    transform: translateY(26px);
}

.pt-list.is-animated .pt-step.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.pt-step:last-child {
    padding-bottom: 0;
}

.pt-rail {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    display: block;
    width: 3rem;
}

.pt-line,
.pt-line-fill {
    position: absolute;
    inset-inline-start: calc(50% - 1px);
    width: 2px;
    border-radius: 999px;
}

.pt-line {
    top: 0;
    bottom: 0;
    background: rgba(27, 58, 100, 0.14);
}

.pt-line-fill {
    top: 0;
    height: 0;
    background: #C5A059;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.45);
    transition: height 760ms cubic-bezier(0.22, 0.68, 0.28, 1) 120ms;
}

.pt-step.is-revealed .pt-line-fill {
    height: 100%;
}

.pt-step:last-child .pt-line {
    bottom: auto;
    height: 1.5rem;
}

.pt-step:last-child.is-revealed .pt-line-fill {
    height: 1.5rem;
}

.pt-dot {
    position: relative;
    z-index: 2;
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 2px solid rgba(201, 162, 39, 0.55);
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 26px rgba(18, 38, 61, 0.18);
    transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.pt-step.is-active .pt-dot {
    border-color: var(--primary-color);
    background: #C5A059;
    color: var(--primary-color);
    box-shadow: 0 14px 30px rgba(197, 160, 89, 0.4);
}

.pt-card {
    display: block;
    width: 100%;
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(18, 38, 61, 0.08);
    text-align: start;
    cursor: pointer;
    transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.pt-card:hover {
    border-color: rgba(197, 160, 89, 0.55);
    box-shadow: 0 20px 44px rgba(18, 38, 61, 0.12);
    transform: translateY(-2px);
}

.pt-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.pt-step.is-active .pt-card {
    border-color: #C5A059;
    box-shadow: 0 24px 52px rgba(18, 38, 61, 0.13);
}

.pt-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pt-title {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.45;
}

.pt-chevron {
    flex-shrink: 0;
    color: var(--gold-dark);
    font-size: 0.85rem;
    transition: transform 350ms ease, color 350ms ease;
}

.pt-step.is-active .pt-chevron {
    color: #C5A059;
    transform: rotate(180deg);
}

.pt-body {
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 420ms ease, opacity 320ms ease, margin-top 420ms ease;
}

.pt-step.is-active .pt-body {
    max-height: 26rem;
    margin-top: 0.75rem;
    opacity: 1;
}

.pt-body-inner {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

@media (max-width: 639px) {
    .pt-step {
        padding-inline-start: 3.4rem;
        padding-bottom: 1.1rem;
    }

    .pt-rail {
        width: 2.5rem;
    }

    .pt-dot {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.82rem;
    }

    .pt-step:last-child .pt-line {
        height: 1.25rem;
    }

    .pt-step:last-child.is-revealed .pt-line-fill {
        height: 1.25rem;
    }

    .pt-card {
        padding: 1.1rem 1.15rem;
        border-radius: 1.25rem;
    }

    .pt-title {
        font-size: 1rem;
    }

    .pt-body-inner {
        font-size: 0.9rem;
        line-height: 1.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-step,
    .pt-line-fill,
    .pt-body,
    .pt-chevron,
    .pt-card {
        transition: none;
    }

    .pt-list.is-animated .pt-step {
        opacity: 1;
        transform: none;
    }
}