/* 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: 700;
    font-style: normal;
    line-height: normal;
    color: #ed6a59;
    margin: 0;
}

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

/* utility class for process title emphasis */
.process-title-italic {
    font-style: italic;
    font-weight: 500;
}

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

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

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

.process-cta {
    color: #005b68;
    flex-shrink: 0;
}

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

/* Process buttons now use centralized component (type: secondary) */

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

/* Individual Step */
.process-step {
    align-self: center;
    text-align: center;
    flex: 1 0 0;
    min-width: 179px;
    max-width: 269px;
    min-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: normal;
    align-self: center;
    text-align: center;
    color: #eed1cc;
    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: normal;
    color: #ffffff;
    margin: 0;
}

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

/* ==================== TABLET/MEDIUM SCREENS (below 1200px) ==================== */
@media (max-width: 1200px) {
    .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 !important;
    }

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

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

    .process-step {
        flex: 1;
        width: 100%;
        height: auto;
        min-height: 100%;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px;
        max-width: 200px;
        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 24px;
    }

    .process-steps {
        flex-direction: column;
        gap: 8px;
    }

    .process-step {
        max-width: unset;
        min-width: unset;
        flex-direction: row;
        align-items: flex-start;
        padding: 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;
    }
}
