.how-work {
    width: 100%;
    padding-top: 120px;
}

.how-work-items {
    position: relative;
    background: var(--p-color);
    border-radius: 0 0 50px 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.how-work-items::before {
    content: '';
    position: absolute;
    bottom: 100%;
    width: 100%;
    aspect-ratio: 1920 / 205;
    background: url('../shape/shape.svg') no-repeat center/contain;
    margin-bottom: -1px;
}

.how-work-items .section-title {
    margin-top: 30px;
}

.how-work-cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
}

.how-work-card {
    background: var(--s-color);
    padding: 16px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.how-work-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.how-work-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
}

.how-work-card-image img {
    width: 100%;
}

.how-work-card-title h3 {
    font-size: 20px;
    font-weight: 800;
}

.how-work-card-content p {
    font-size: 18px;
    line-height: 32px;
}








@media (max-width: 1400px) {}

@media (max-width: 1200px) {
    .how-work-card-image {
        width: 90px;
        height: 90px;
        min-width: 90px;
        min-height: 90px;
    }
}

@media (max-width: 992px) {
    .how-work-card-title h3 {
        font-size: 18px;
        line-height: 32px;
    }

    .how-work-card-image {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        border-radius: 20px;
    }

    .how-work-card-content p {
        font-size: 16px;
        line-height: 32px;
    }

    .how-work-card {
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .how-work-card {
        width: 100%;
    }

    .how-work-cards {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .how-work {
        width: 100%;
        padding-top: 60px;
    }

    .how-work-card {
        gap: 8px;
    }

    .how-work-card-content p {
        font-size: 18px;
        line-height: 28px;
    }

    .how-work-items .section-title {
        width: 80%;
    }

    .how-work-items .section-title h3 {
        line-height: 38px;
    }
}

@media (max-width: 480px) {
    .how-work-card-image {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
        border-radius: 20px;
    }

    .how-work-card-content p {
        font-size: 16px;
        line-height: 30px;
    }
}

@media (max-width: 400px) {
    .how-work-cards {
        padding: 16px;
        gap: 16px;
    }

    .how-work-card-title h3 {
        font-size: 17px;
        line-height: 32px;
    }
}



