.tariffs {
    min-height: 100vh;
}

.tariffs h2 {
    color: #fff;
}

.tariffs__block h3 {
    color: #fff;
}

.tariffs__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.tariffs-card {
    border-radius: 20px;
    color: white;
    background-color: #101d2d;
    position: relative;
    transition: box-shadow 0.3s;
}

.tariffs-card--default {
    min-width: 30%;
    max-width: 40%;
    box-shadow: 4px 4px 14px 4px #2dca8c36;
}

.tariffs-card__wrapper {
    padding: 24px;
    height: 100%;
}

.tariffs-card__header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.tariffs-card__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.tariffs-card__footer h4 {
    text-align: center;
}

.tariffs-card__body mark {
    margin-top: 40px;
    padding: 12px;
    background-color: #fff;
    color: #000;
    background-image: none;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    width: 100%;
}

.tariffs-card__header h3,
.tariffs-card__header h4 {
    margin-bottom: 0;
    color: white;
}

.tariffs-card__header h4 {
    font-size: 20px;
    line-height: 20px;
}

.tariffs-card__header h4 span {
    font-size: 26px;
    line-height: 26px;
}

.tariffs-card__footer h3,
.tariffs-card__footer h4 {
    margin-bottom: 0;
    color: white;
}

.tariffs-card__footer h4 {
    font-size: 20px;
}

.tariffs-card__footer h4 span {
    font-size: 26px;
}

.tariffs-card__info {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.tariffs-card__body {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tariffs-card__content {
    min-height: calc(100% - 70px);
    height: auto;
}

.tariffs-card__list {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.tariffs-card__item {
    column-gap: 8px;
    display: flex;
    position: relative;
}

.tariffs-card__item span {
    color: white;
    font-size: 18px;
    line-height: 1.2;
    display: inline-block;
    margin-top: 2px;
}

.tariffs-card__item::before {
    color: #2dca8c;
    font-size: 20px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f14a";
    flex-shrink: 0;
    margin-top: -5px;
}

.tariffs-card__button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tariffs-card__button button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    background-color: #2dca8c;
    color: #fff;
    overflow: hidden;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.tariffs-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (max-width: 1199px) {
    .tariffs-card:has(.tariffs-card__button) .tariffs-card__button:hover {
        background-color: #26ac77;
        border-radius: 12px;
        box-shadow: 0 4px 4px 2px rgba(77, 210, 157, .1), 0 6px 12px -2px rgba(77, 210, 157, .4);
    }

    .tariffs-card {
        width: 46%;
    }

    .tariffs-card:only-child {
        width: 100%;
        max-width: max-content;
    }

    .tariffs-card--default {
        width: 100%;
        max-width: max-content;
    }
}

@media (max-width: 767px) {
    .tariffs-card,
    .tariffs-card:only-child {
        width: 100%;
    }

    .tariffs__cards {
        padding: 30px 0;
    }

    .tariffs-card--default {
        width: 100%;
    }

    .tariffs__blocks {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

@media (min-width: 768px) {
    .tariffs-card__header {
        min-height: 70px;
        height: auto;
    }

    .tariffs-card__content {
        height: calc(100% - 70px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .tariffs__cards {
        padding: 50px 0;
    }

    .tariffs-card--default {
        width: 100%;
    }

    .tariffs-card:only-child {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .tariffs-card {
        flex: 1 1 0;
        min-width: 30%;
        max-width: 30%;
    }

    .tariffs-card--default {
        min-width: 30%;
        max-width: 38%;
    }

    .tariffs-card:only-child {
        max-width: 38%;
        min-width: 30%;
    }

    .tariffs-card--default .tariffs-card__wrapper {
        padding: 38px;
    }

    .tariffs-card:has(.tariffs-card__button) {
        cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .tariffs-card:has(.tariffs-card__button):hover {
        box-shadow: 4px 4px 14px 4px #2dca8c36;
        transform: scale(1.03);
        z-index: 2;
    }
}
