/* "Клуб привилегий" — no Figma frame yet, built from the site's own components (white cards, shadow 0 0 30px .07, Lato). */
.club {
    padding-bottom: 40px;
    color: var(--chernyy);
}

.club__header {
    max-width: 785px;
    margin-bottom: 20px;
}

.club__lead {
    margin: 0;
    font-weight: 500;
    font-size: clamp(15px, 12.86px + 0.36vw, 18px);
    line-height: 140%;
    color: var(--seryy);
}

.club-card {
    background: var(--belyy);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.07);
}

.club__section-title {
    margin: 40px 0 15px;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
}

.club__card-title {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
}

.club__card-text {
    margin: 0;
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    color: var(--seryy);
}

/* ---- buttons ---- */
.club__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    padding: 0 30px;
    font: 600 16px/140% var(--font-family);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.club__btn--red {
    background: var(--firmennyy);
    color: var(--belyy);
}

.club__btn--red:hover {
    background: var(--firmennyy-2);
}

.club__btn--light {
    background: var(--svetlo-seryy);
    color: var(--chernyy);
}

.club__btn--light:hover {
    background: var(--temno-belyy);
}

/* ---- status card ---- */
.club__status {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
}

.club__status-title {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 20px;
    line-height: 125%;
}

.club__status-text {
    margin: 0;
    max-width: 560px;
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    color: var(--seryy);
}

.club__balance {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: clamp(28px, 6vw, 40px);
    line-height: 120%;
    color: var(--firmennyy);
}

.club__status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 40px;
}

.club__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.club__meta-label {
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    color: var(--seryy);
}

.club__meta-value {
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
}

.club__status-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---- steps ---- */
.club__steps,
.club__levels,
.club__benefits,
.club__faq {
    display: grid;
    gap: 10px;
}

.club__step {
    padding: 20px 15px;
}

.club__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 15px;
    background: var(--chernyy);
    color: var(--belyy);
    font-weight: 600;
    font-size: 18px;
}

/* ---- levels ---- */
.club__level {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 15px;
    border: 2px solid transparent;
}

.club__level--current {
    border-color: var(--firmennyy);
}

.club__level-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.club__level-name {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
}

.club__level-badge {
    padding: 4px 10px;
    background: var(--firmennyy);
    color: var(--belyy);
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
}

.club__level-percent {
    margin: 0;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    color: var(--firmennyy);
}

.club__level-percent span {
    font-weight: 500;
    font-size: 15px;
    color: var(--seryy);
}

.club__level-threshold {
    margin: 0;
    padding: 8px 10px;
    align-self: flex-start;
    background: var(--svetlo-seryy);
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
}

.club__level-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 5px 0 0;
    padding: 0;
    list-style: none;
}

.club__level-perks li {
    position: relative;
    padding-left: 18px;
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
}

.club__level-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--firmennyy);
}

/* ---- benefits ---- */
.club__benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 15px;
}

.club__benefit-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--svetlo-seryy);
}

.club__benefit-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.club__benefit .club__card-title {
    margin-bottom: 4px;
}

/* ---- FAQ ---- */
.club__faq-item {
    padding: 0;
}

.club__faq-q {
    position: relative;
    padding: 15px 45px 15px 15px;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    list-style: none;
    cursor: pointer;
}

.club__faq-q::-webkit-details-marker {
    display: none;
}

.club__faq-q::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border: solid var(--chernyy);
    border-width: 0 2px 2px 0;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.15s;
}

.club__faq-item[open] .club__faq-q::after {
    transform: translateY(-30%) rotate(225deg);
}

.club__faq-a {
    margin: 0;
    padding: 0 15px 15px;
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    color: var(--seryy);
}

/* ---- CTA ---- */
.club__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-top: 40px;
    padding: 25px 15px;
    background: var(--chernyy);
    color: var(--belyy);
}

.club__cta-title {
    margin: 0;
    font-weight: 600;
    font-size: 20px;
    line-height: 125%;
}

@media (min-width: 768px) {
    .club__header {
        margin-bottom: 30px;
    }

    .club__section-title {
        margin: 50px 0 20px;
        font-size: 22px;
    }

    .club__status {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        padding: 25px 20px;
    }

    .club__status-main {
        flex: 1;
    }

    .club__status-actions {
        flex-direction: row;
        flex: none;
    }

    .club__steps,
    .club__levels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }

    .club__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .club__faq {
        max-width: 900px;
        gap: 15px;
    }

    .club__cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 30px 25px;
    }

    .club__cta .club__btn {
        flex: none;
    }
}

@media (min-width: 1200px) {
    .club__section-title {
        margin: 60px 0 25px;
        font-size: 30px;
    }

    .club__status {
        padding: 30px 25px;
    }

    .club__status-title,
    .club__cta-title {
        font-size: 24px;
    }

    .club__steps,
    .club__levels {
        gap: 20px;
    }

    .club__benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .club__step,
    .club__level {
        padding: 25px 20px;
    }

    .club__card-title {
        font-size: 20px;
    }

    .club__card-text,
    .club__level-perks li,
    .club__faq-a {
        font-size: 16px;
    }

    .club__faq-q {
        font-size: 18px;
    }

    .club__cta {
        margin-top: 60px;
        padding: 40px 30px;
    }
}
