/* Общие блоки лендингов: bento-сетка, тёмный блок шагов, шапка секции.
   Значения по DESIGN.md. Используются на /subscription и /dummy-ticket (dummy_landing.css дублирует их — при слиянии
   веток заменить дубли подключением этого файла). Требует main_page.css (.container, .title_h2). */

:root {
    --kf-blue: #4450F2;
    --kf-ink: #141414;
    --kf-lavender: #DAD9FB;
    --kf-grad: linear-gradient(138deg, #9096EA 5%, #FF7EBC 100%);
}

.section-head {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-head .title_h2 {
    margin-bottom: 16px;
}

.section-head p {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 30px;
    color: var(--kf-ink);
}

/* Bento grid */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento__card {
    position: relative;
    padding: 32px 28px 28px;
    background: var(--kf-bg-light, #F8F8F8);
    border-radius: 24px;
    transition: transform .2s, box-shadow .2s;
}

.bento__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.bento__card--wide {
    grid-column: span 2;
}

.bento__card--accent {
    background: var(--kf-ink);
    color: #fff;
}


.bento__num {
    margin-bottom: 40px;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--kf-blue);
}

.bento__card--accent .bento__num {
    color: #FF7EBC;
}

.bento__title {
    margin-bottom: 10px;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--kf-ink);
}

.bento__card p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: var(--kf-ink);
}

.bento__card--accent .bento__title,
.bento__card--accent p {
    color: #fff;
}

/* Dark steps block (same treatment as the tariff block on the main page) */
.steps {
    padding: 60px 64px;
    background: var(--kf-ink);
    border-radius: 24px;
}

.steps .title_h2 {
    margin-bottom: 48px;
    color: #fff;
}

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

.step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--kf-grad);
    color: #fff;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.step__title {
    margin-bottom: 10px;
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #fff;
}

.step p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, .7);
}

@media (max-width: 992px) {
    .bento,
    .steps__grid {
        grid-template-columns: 1fr;
    }

    .bento__card--wide {
        grid-column: auto;
    }

    .steps {
        padding: 48px 28px;
    }
}
