.cargo__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 40px
}

@media (max-width:991px) {
    .cargo__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }
}

.cargo-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    -ms-box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    -o-box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    transition: all 0.2s ease-in-out
}

.cargo-item:hover .cargo-item__img {
    height: 100%
}

.cargo-item:hover .cargo-item__content {
    position: relative;
    color: #fff;
    z-index: 2;
}

.cargo-item:hover .cargo-item__btn {
    transform: scaleY(1);
    opacity: 1
}

.cargo-item:hover .cargo-item__hover-link::after {
    opacity: 1
}

.cargo-item:hover .cargo-item__img {
    transform: scale(1.2)
}

.cargo-item__img {
    transition: all 0.4s ease-in-out;
    height: 140px;
    position: absolute;
    width: 100%
}

.cargo-item__hover-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(48 48 48 / 90%);
    transition: opacity 0.3s ease;
    z-index: 1;
    opacity: 0
}

.cargo-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cargo-item__content {
    padding: 15px;
    z-index: 2
}

.cargo-item__title {
    display: flex
    ;
        align-items: center;
        justify-content: center;
        gap: 10px;
    font-weight: 900;
    text-align: center;
    font-size: 20px
}

.cargo-item__title img {
    height: 30px;
}


.cargo-item__text {
    margin-top: 10px;
    font-size: 14px
}

.cargo-item__hover-link {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 3
}

.cargo-item__btn {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: 0 20px;
    padding: 10px 20px;
    font-size: 14px;
    transform: scaleY(0);
    opacity: 0;
    transform-origin: top;
    transition: transform 0.3s ease, opacity 0.3s ease
}

.cargo-item:hover {
    filter: drop-shadow(0 10px 40px rgba(52, 44, 1, .2))
}

@media (max-width:767px) {
    .cargo-item__btn {
        font-size: 12px;
        width: 80%;
        height: 38px;
        min-height: 38px;
        align-items: center;
        display: flex;
        justify-content: center
    }

    .cargo-item__content {
        padding: 10px
    }

    .cargo-item__title {
        font-size: 15px
    }

    .cargo-item__text {
        margin-top: 5px;
        font-size: 12px
    }
}