/* =========================
   PRODUCT PAGE
   ========================= */

.kb-wrap {
    color: white;
}

.kb-wrap > h1 {
    font-weight: 700;
    font-size: 56px;
    line-height: 64px;
}

/* =========================
   HERO
   ========================= */

.kb-hero {
    background-image: url("../images/cards.png");
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 40px 0 132px 0;
}

.kb-hero.alt {
    background-image: url("../images/cards-alternative.webp");
}

.kb-h1 {
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
}

.kb-hero.alt .kb-h1 {
    font-size: 56px;
}

@media (min-width: 1024px) {
    .kb-hero.alt .kb-h1 {
        display: inline-block;
        max-width: 50%;
    }
}

.kb-p {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--grey-text);
}

/* =========================
   GROWTH SECTION
   ========================= */

.kb-growth {
    margin-bottom: 132px;
}

.kb-section-title, .faq-subwrapper__header h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
}

.kb-features p {
    font-family: 'Manrope';
    font-size: 16px;
    color: #D7D9DB;
    line-height: 20px;
}

.kb-growth-grid {
    display: flex;
    gap: 20px
}

.kb-growth-grid div {
    position: relative;
    overflow: hidden;
}


.kb-mini-title {
    font-weight: 600;
    font-size: 28px;
    line-height: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.kb-dot {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.kb-dot:after {
    content: "";
    display: block;
    width: 800px;
    height: 1px;
    border-top: dashed 1px white;
    position: absolute;
    left: 50px;
    right: 0px;
}

.kb-dot.red:after {
    border-color: var(--red);
}

.kb-dot.green:after {
    border-color: var(--green);
}

.kb-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--grey-text);
    margin-top: 10px;
}

/* =========================
   FEATURES
   ========================= */

.kb-features {
    margin-bottom: 132px;
}

.kb-features-grid {
    display: flex;
    gap: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 52px;
}

.kb-feature {
    display: flex;
    flex-direction: column;
    opacity: 1;
    border-radius: 32px;
    padding: 32px;
    background-color: var(--blue-2);
    justify-content: space-between;
    gap: 22px;
    width: calc(50% - 22px);
}

.kb-features.alternative-layout .kb-feature {
    width: calc(33.333% - 22px);
}

.kb-feature h4 {
    font-weight: 600;
    font-size: 28px;
    line-height: 40px;
}

.kb-feature p {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--grey-text);
}

.kb-card .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.kb-card .icon span {
    font-weight: 600;
    font-size: 28px;
    line-height: 40px;
}

/* =========================
   How it works
   ========================= */

.how-it-works.how-it-works-alternative .container {
    gap: unset;
}

.how-it-works.how-it-works-alternative p {
    margin-top: 16px;
    margin-bottom: 52px;
}

.how-it-works.how-it-works-alternative .steps-grid {
    justify-content: space-between;
}

.how-it-works.how-it-works-alternative .steps-grid .step {
    width: 100%;
}

.how-it-works.how-it-works-alternative .steps-grid .step .step-content {
    padding-right: 10px;
}

/* =========================
   CTA
   ========================= */

.kb-cta {
    padding: 132px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background-image: url("../images/gradient-min.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    overflow: hidden;
}

.kb-cta:before, .kb-cta:after {
    content: "";
    position: absolute;
    display: block;
    background-image: url("../images/cards-3.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 201px;
    height: 183px;
    top: 0;
    left: 0;
}

.kb-cta.alt:before, .kb-cta.alt:after {
    background-image: url("../images/left.webp");
    width: 220px;
    height: 200px;
}

.kb-cta:after {
    background-image: url("../images/cards-4.png");
    width: 245px;
    height: 175px;
    top: unset;
    left: unset;
    bottom: 0;
    right: 0;
}

.kb-cta.alt:after {
    background-image: url("../images/right.webp");
    width: 270px;
    height: 240px;
}


.kb-cta h3 {
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
    text-align: center;
    max-width: 676px;
}

.kb-cta p {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: var(--grey-text);
    max-width: 676px;
}

/* =========================
   FAQ
   ========================= */

.faq-alternative-layout {
    margin-top: 132px;
}

.faq-subwrapper__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: nowrap;
    gap: 20px;
}

.faq-subwrapper__header h2 {
    margin: 0;
    flex-shrink: 0;
}

.faq-subwrapper__header .kb-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.faq-container-alt .faq-response p {
    color: #D7D9DB;
}

@media (min-width: 1024px) {
    .faq-container-alt .faq-blok {
        gap: 16px !important;
    }
    
    .faq-container-alt .faq-cat-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    .faq-container-alt .faq-response p {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 16px;
        line-height: 20px;
    }
}
/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
    /* Hero Section */
    .kb-hero, .kb-hero.alt {
        background-image: none;
        margin: 32px 0 80px 0;
        padding: 40px;
    }

    .kb-h1, .kb-hero.alt .kb-h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .kb-p {
        font-size: 16px;
        line-height: 24px;
        margin: 16px 0 24px 0;
    }

    .kb-decor {
        display: none;
    }

    /* Growth Section */
    .kb-growth {
        margin-bottom: 80px;
        padding: 40px;
    }

    .kb-section-title, .faq-subwrapper__header h2 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 32px;
    }

    .kb-growth-grid {
        flex-direction: column;
        gap: 40px;
    }

    .kb-dot:after {
        display: none;
    }

    /* Features */
    .kb-features {
        margin-bottom: 80px;
    }

    .kb-features-grid {
        gap: 20px;
        margin-top: 32px;
    }

    .kb-feature, .kb-features.alternative-layout .kb-feature {
        width: 100%;
        padding: 28px;
    }

    .kb-feature h4 {
        font-size: 24px;
        line-height: 32px;
    }

    /* CTA */
    .kb-cta {
        padding: 80px 40px;
        background-size: cover;
    }

    .kb-cta:before,.kb-cta.alt:before {
        width: 150px;
        height: 137px;
        background-size: contain;
    }

    .kb-cta:after, .kb-cta.alt:after {
        width: 180px;
        height: 130px;
        background-size: contain;
    }

    .kb-cta h3 {
        font-size: 36px;
        line-height: 44px;
        z-index: 2;
        position: relative;
    }

    .kb-cta p {
        z-index: 2;
        position: relative;
    }

    .kb-cta .kb-btn {
        z-index: 2;
        position: relative;
    }

    /* FAQ */
    .faq-alternative-layout {
        margin-top: 80px;
    }
    
    .faq-subwrapper__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .faq-subwrapper__header .kb-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .kb-hero {
        margin: 24px 0 60px 0;
        padding: 32px 24px;
    }

    .kb-h1, .kb-hero.alt .kb-h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .kb-p {
        font-size: 15px;
        line-height: 22px;
        margin: 12px 0 20px 0;
    }

    /* Growth Section */
    .kb-growth {
        margin-bottom: 60px;
        padding: 32px 24px;
    }

    .kb-section-title, .faq-subwrapper__header h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 28px;
    }

    .kb-growth-grid {
        gap: 32px;
    }

    .kb-mini-title {
        font-size: 22px;
        line-height: 30px;
        gap: 12px;
    }

    .kb-dot {
        width: 32px;
        height: 32px;
    }

    .kb-text {
        font-size: 15px;
        line-height: 22px;
        margin-top: 8px;
    }

    /* Features */
    .kb-features {
        margin-bottom: 60px;
    }

    .kb-features-grid {
        gap: 16px;
        margin-top: 28px;
    }

    .kb-feature {
        padding: 24px;
        gap: 16px;
    }

    .kb-feature h4 {
        font-size: 20px;
        line-height: 28px;
    }

    .kb-feature p {
        font-size: 15px;
        line-height: 22px;
    }

    /* CTA */
    .kb-cta {
        padding: 60px 32px;
    }

    .kb-cta:before, .kb-cta.alt:before {
        width: 120px;
        height: 110px;
    }

    .kb-cta:after, .kb-cta.alt:after {
        width: 140px;
        height: 100px;
    }

    .kb-cta h3 {
        font-size: 28px;
        line-height: 36px;
    }

    .kb-cta p {
        font-size: 15px;
        line-height: 22px;
    }
    /* FAQ */
    .faq-alternative-layout {
        margin-top: 48px;
    }
    
    .faq-subwrapper__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .faq-subwrapper__header .kb-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Hero Section */
    .kb-hero {
        margin: 20px 0 48px 0;
        padding: 24px 16px;
        border-radius: 24px;
    }

    .kb-h1, .kb-hero.alt .kb-h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .kb-p {
        font-size: 14px;
        line-height: 20px;
        margin: 10px 0 16px 0;
    }

    .kb-btn {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Growth Section */
    .kb-growth {
        margin-bottom: 48px;
        padding: 24px 16px;
        border-radius: 24px;
    }

    .kb-section-title, .faq-subwrapper__header h2 {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 24px;
    }

    .kb-growth-grid {
        gap: 28px;
    }

    .kb-mini-title {
        font-size: 20px;
        line-height: 28px;
        gap: 10px;
    }

    .kb-dot {
        width: 28px;
        height: 28px;
    }

    .kb-text {
        font-size: 14px;
        line-height: 20px;
        margin-top: 6px;
    }

    /* Features */
    .kb-features {
        margin-bottom: 48px;
    }

    .kb-features-grid {
        gap: 12px;
        margin-top: 24px;
    }

    .kb-feature {
        padding: 20px;
        gap: 14px;
        border-radius: 24px;
    }

    .kb-feature h4 {
        font-size: 18px;
        line-height: 26px;
    }

    .kb-feature p {
        font-size: 14px;
        line-height: 20px;
    }

    /* CTA */
    .kb-cta {
        padding: 48px 24px;
        border-radius: 24px;
        gap: 16px;
    }

    /* Уменьшаем фоновые изображения чтобы не перекрывали кнопку */
    .kb-cta:before, .kb-cta.alt:before {
        width: 80px;
        height: 73px;
        opacity: 0.6;
    }

    .kb-cta:after, .kb-cta.alt:after {
        width: 100px;
        height: 72px;
        opacity: 0.6;
    }

    .kb-cta h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .kb-cta p {
        font-size: 14px;
        line-height: 20px;
        margin: 8px 0 16px 0;
    }

    .kb-cta .kb-btn {
        width: 100%;
        text-align: center;
        display: block;
    }
    
    /* FAQ */
    .faq-alternative-layout {
        margin-top: 48px;
    }
    
    .faq-subwrapper__header {
        flex-direction: column;
        gap: 16px;
    }
}
