/* ========================================
   Flow Page
======================================== */
.flow-section {
    padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 40px);
}

.flow-container {
    max-width: 1120px;
    margin: 0 auto;
}

.flow-intro {
    text-align: center;
    word-break: keep-all;
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 700;
    line-height: 1.6;
    color: #5BA699;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.flow-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.flow-item {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 928px;
    min-height: 214px;
    background: #fff;
    border: 1px solid #79A39C;
    border-radius: 16px;
}

.flow-item-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(20px, 3vw, 32px) 32px;
}

.flow-item-icon {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flow-item-text {
    flex: 1;
}

.flow-item-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #30403E;
    margin: 0 0 8px;
}

.flow-item-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #30403E;
    margin: 0;
}

.flow-item-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    width: 284px;
    height: 40px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    color: #FFFDF6;
    background: #65BAA9;
    border: 1px solid #65BAA9;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flow-item-btn:hover {
    background: #fff;
    color: #65BAA9;
}

.flow-item-number {
    position: absolute;
    top: -30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 84px;
    background: #CCE390;
    border-radius: 4px;
    padding: 8px;
}

.flow-step {
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
}

.flow-num {
    font-family: "Poppins", sans-serif;
    font-size: 49px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.flow-arrow svg {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .flow-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .flow-intro {
        text-align: center;
        font-size: clamp(18px, 6.65vw, 25px);
        line-height: 1.6;
        word-break: normal;
    }


    .flow-item {
        flex-direction: column;
    }

    .flow-item-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px 24px;
    }

    .flow-item-icon {
        margin-bottom: 16px;
        align-self: flex-start;
    }

    .flow-item-number {
        top: -20px;
        right: 15px;
    }

    .flow-step {
    }

    .flow-num {
    }

    .flow-item-title {
        margin-bottom: 12px;
        text-align: left;
    }

    .flow-item-desc {
        line-height: 1.7;
        text-align: left;
    }

    .flow-item-desc br {
        display: none;
    }

    .flow-item-btn {
        margin-top: 16px;
        padding: 0;
    }
}

