/* Process Section Styles */
/* Based on Figma node-id: 2141-8657 (desktop) and 2109-27846 (mobile) */

.process-section {
    padding: 0 120px;
    background: #fdf5f1;
}

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

/* Header Section */
.process-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.process-description {
    flex: 1 0 0;
    min-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-title {
    font-family: 'IvyOra Display', serif;
    font-size: 32px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    color: #ed6a59;
    margin: 0;
}

.process-title .title-bold {
    font-weight: 700;
    font-style: normal;
    color: #005b68;
}

.process-title .title-italic {
    font-weight: 500;
    font-style: italic;
}

.process-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #403936;
}

.process-text p {
    margin: 0 0 16px 0;
}

.process-text p:last-child {
    margin-bottom: 0;
}

.process-cta {
    flex-shrink: 0;
}

/* Mobile CTA (hidden on desktop) */
.process-mobile-cta {
    display: none;
}

/* Steps Grid */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 16px;
    align-items: center;
    justify-content: flex-start;
}

/* Individual Step */
.process-step {
    flex: 1 0 0;
    min-width: 227px;
    max-width: 269px;
    height: 260px;
    background: #005b68;
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.step-number {
    font-family: 'IvyOra Display', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    color: #ed6a59;
    height: 49px;
    width: 38px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.step-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.step-title strong {
    font-weight: 700;
}

/* ==================== TABLET/MEDIUM SCREENS (below 1200px) ==================== */
@media (max-width: 1199px) {
    .process-section {
        padding: 0 60px;
    }

    .process-container {
        gap: 40px;
    }

    /* Header Section */
    .process-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .process-description {
        min-width: unset;
        width: 100%;
    }

    /* Hide desktop CTA, show mobile CTA */
    .process-cta {
        display: none;
    }

    .process-mobile-cta {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Steps become column layout */
    .process-steps {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .process-step {
        flex: 1;
        min-width: unset;
        width: 100%;
        height: auto;
        flex-direction: row;
        max-width: unset;
        align-items: center;
        gap: 16px;
        padding: 16px;
        border-radius: 12px;
    }

    .step-number {
        font-size: 32px;
        height: 40px;
        width: 24px;
        flex-shrink: 0;
    }

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

/* ==================== MOBILE STYLES (below 768px) ==================== */
@media (max-width: 767px) {
    .process-section {
        padding: 0 16px;
    }

    .process-container {
        gap: 40px;
    }

    /* Header Section */
    .process-header {
        gap: 16px;
    }

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

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

    /* Steps */
    .process-steps {
        gap: 8px;
    }

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