/* Process Section Styles */
.process-section {
    background: #181818;
    position: relative;
    width: 100%;
    padding: 120px 0;
    color: #fff;
    margin: 100px auto;
}

.process-container {
    max-width: 852px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Header */
.process-header {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.process-title {
    font-family: 'Costaline', sans-serif;
    font-weight: 100;
    font-size: 48px;
    line-height: 1.7;
    margin: 0;
    color: #fff;
    white-space: pre-wrap;
}

.process-description {
    font-family: 'General Sans Variable', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    margin: 0;
    max-width: 844px;
}

/* Toggle Button */
.process-toggle {
    font-family: 'General Sans Variable', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #833C1E;
    background: transparent;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: opacity 0.3s ease;
}

.process-toggle:hover {
    opacity: 0.8;
}

.process-toggle .toggle-text-collapse {
    display: none;
}

.process-toggle[aria-expanded="true"] .toggle-text-expand {
    display: none;
}

.process-toggle[aria-expanded="true"] .toggle-text-collapse {
    display: inline;
}

/* Process Steps Wrapper */
.process-steps-wrapper {
    position: relative;
    width: 100%;
}

.process-vertical-line {
    position: absolute;
    left: 0;
    top: 10px;
    width: 65px;
    height: 581px;
    pointer-events: none;
    z-index: 1;
}

.process-vertical-line img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Process Steps Container */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 72px;
    margin-left: 22px;
    position: relative;
    z-index: 2;
}

/* Individual Process Step */
.process-step {
    display: flex;
    gap: 56px;
    align-items: center;
}

.step-icon-wrapper {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.step-icon-wrapper svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #181818;
}

/* Step Content - COLLAPSED state (default) */
.step-content {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    flex: 1;
    min-width: 0;
    /* Allow flex items to shrink below content size */
}

/* Hide image and description in collapsed state */
.step-content .step-image,
.step-content .step-description {
    display: none;
}

/* Show only number and title in collapsed state */
.step-number {
    font-family: 'General Sans Variable', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    flex-shrink: 0;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
    min-width: 0;
    /* Allow text to wrap */
}

.step-title {
    font-family: 'General Sans Variable', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    margin: 0;
}

.step-description {
    font-family: 'General Sans Variable', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    margin: 0;
    max-width: 440px;
}

.step-image {
    width: 212px;
    flex-shrink: 0;
}

.step-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* EXPANDED state - Desktop */
.process-section.expanded .process-vertical-line {
    height: 1200px;
}

.process-section.expanded .step-content {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
}

.process-section.expanded .step-content .step-image,
.process-section.expanded .step-content .step-description {
    display: block;
}

.process-section.expanded .process-step {
    align-items: flex-start;
}




/* Tablet Responsive */
@media (max-width: 900px) {
    .process-section {
        padding: 80px 32px;
    }

    .process-container {
        max-width: none;
        padding: 0 32px;
        gap: 40px;
    }

    .process-title {
        font-size: 36px;
    }

    .process-description {
        font-size: 16px;
    }

    .process-toggle {
        font-size: 20px;
    }

    .step-number {
        font-size: 28px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 16px;
    }

    .step-image {
        width: 180px;
    }
}

/* Mobile Responsive - Matches Figma 716-7685 */
@media (max-width: 600px) {
    .process-section {
        padding: 60px 0;
    }

    .process-container {
        gap: 40px;
        max-width: none;
    }

    .process-header {
        gap: 24px;
        padding: 0 32px;
    }

    .process-title {
        font-size: 24px;
    }

    .process-description {
        font-size: 16px;
    }

    .process-toggle {
        font-size: 16px;
    }

    .process-steps-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .process-vertical-line {
        left: 0;
        top: 10px;
        width: 30px;
        height: 1688px;
    }

    .process-section.expanded .process-vertical-line {
        height: 1688px;
    }

    .process-steps {
        margin-left: 5px;
        gap: 48px;
    }

    .process-step {
        gap: 24px;
        align-items: flex-start;
    }

    .step-icon-wrapper {
        width: 20px;
        height: 26px;
        margin-top: 3px;
    }

    .step-content {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }

    .step-number {
        font-size: 20px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-description {
        font-size: 16px;
        color: #B4B2AD;
        max-width: 100%;
    }

    .step-image {
        width: 214px;
        height: 95px;
    }

    .step-image img {
        height: 100%;
        object-fit: cover;
    }

    /* Mobile EXPANDED state - title, description, image stacked vertically */
    .process-section.expanded .step-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-section.expanded .step-text {
        flex: 1;
        min-width: 0;
    }
}