.packages__title h3,
.packages__text p{
    margin-bottom: 30px;
}

.packages__item-title h4 {
    margin-bottom: 0;
}

.packages__item-text p {
    margin-bottom: 0;
}

.packages__item-text {
    line-height: 150%;
}

.packages__item-text {
    padding-bottom: 20px;
    border-bottom: 1px solid #DFE4EA;
    margin-bottom: 5px;
}

.packages__item:has(.packages__item-text) .packages__item-title{
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 10px;
}

.packages__item .packages__item-title{
    padding-bottom: 20px;
    margin-bottom: 5px;
    border-bottom: 1px solid #DFE4EA;
}


.packages__item-title strong {
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
}

.packages__title h3 {
    font-weight: 700;
}

.packages__text p {
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    color: #343844;
}

.packages__items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.packages__container .packages__items:not(:last-child) {
    margin-bottom: 45px;
}

.packages__item {
    border-radius: 20px;
    background: #F8F8FB;
    padding: 30px;
    color: #343844;
}


.packages__item:hover .packages__item-button {
    background: #34DCA2;
    transition-duration: 0s;
    color: #FFF;
}

.packages__item-title {
    color: #202020;
}

.packages__item-group {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: flex-end;
    justify-content: space-between;

}

.packages__item-button {
    border-radius: 10px;
    border: 2px solid #34DCA2;
    padding: 13px;
    width: 100%;
    max-width: 170px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #34DCA2;
    transition-duration: 0s;
    font-size: 15px;
    font-weight: 600;
    max-width: 140px;
}

.packages__item-price p{
    margin-bottom: 0;
}

.packages__item-price {
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    color: #343844;
}

.packages__item-price em {
    font-size: 14px;
    font-weight: 500;
    color: #A2A5B1;
    text-decoration: line-through;
    vertical-align: text-bottom;
    padding-left: 5px;
}

.packages__item-price strong {
    color: #000000;
    font-weight: 600;
    font-size: 30px;
    line-height: 130%;
}



@media screen and (min-width: 1025px) {
    .packages__item {
        flex-basis: calc((100% - 40px) / 3);
    }
}

@media screen and (max-width: 1024.98px) {
    .packages__item {
        flex-basis: calc((100% - 20px) / 2);
    }

}

@media screen and (max-width: 776px) {
    .packages__item {
        flex-basis: 100%;
    }

}

@media screen and (max-width: 768px) {
    .packages__container .tg-container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .packages__title h3 {
        margin-bottom: 10px;
        font-size: 22px;
        line-height: 130%;
    }

    .packages__text p {
        font-size: 16px;
        font-weight: 600;
        color: #202020;
    }

    .packages__text p {
        margin-bottom: 30px;
    }

    .packages__text:nth-child(4) p {
        margin-bottom: 20px;
    }

    .packages__item {
        border-radius: 20px;
        padding: 20px;
    }

    .packages__item-title h4{
        font-size: 20px;
        margin-bottom: 0;
    }

    .packages__item-title strong {
        font-size: 16px;
        line-height: 130%;
    }

    .packages__item-price {
        font-size: 14px;
    }

    .packages__container .packages__items:not(:last-child) {
        margin-bottom: 30px;
    }

    .packages__item-price strong {
        font-size: 20px;
        line-height: 150%;
    }

    .packages__item-button {
        max-width: 132px;
    }

    .packages__item-text {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .packages__item .packages__item-title {
        margin-bottom: 10px;
    }


}