.tariffs-section {
    padding: 50px 20px;
    background: #ffffff;
}

.tariffs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tariffs-title {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
}

.tariffs-intro {
    max-width: 820px;
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.55;
    color: #6f6f6f;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tariff-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,.07);
}

.tariff-card__image {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
}

.tariff-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 11px;
    background: #ff7728;
    color: #ffffff;
    border-radius: 16px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.tariff-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 20px 20px;
    text-align: center;
}

.tariff-card__title {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
}

.tariff-card__text {
    min-height: 64px;
    margin: 0 0 20px;
    color: #777777;
    font-size: 14px;
    line-height: 1.5;
}

.tariff-card__price-block {
    margin-top: auto;
}

.tariff-card__old-price {
    margin-bottom: 4px;
    color: #aaaaaa;
    font-size: 13px;
    text-decoration: line-through;
}

.tariff-card__price {
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
}

.tariff-card__button {
    display: block;
    width: 100%;
    padding: 15px 14px;
    background: #ff7728;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.tariff-card__button:hover {
    background: #e9651c;
}

.tariffs-note {
    max-width: 900px;
    margin: 20px 0 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .tariffs-title,
    .tariffs-intro,
    .tariffs-note {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .tariff-card__text {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .tariffs-section {
        padding: 36px 14px;
    }

    .tariffs-title {
        font-size: 27px;
    }

    .tariffs-intro {
        font-size: 15px;
    }
}