main {
    .payment {
        .hero {
            align-items: flex-start;
            min-height: 478px;
            padding: 122px 50px 64px;
            .hero-tag {
                span::before {
                    content: '\f04e';
                }
            }
            .content {
                .actions {
                    .catalog::after {
                        content: '\f009';
                    }
                }
            }
            .art, &::before {
                top: 27px;
            }
        }
        .benefits {
            .item {
                min-height: 137px;
            }
        }
    }
    .steps {
        .cards {
            .item {
                .icon {
                    &.order::before {
                        content: '\f04f';
                    }
                    &.invoice::before {
                        content: '\f054';
                    }
                    &.transfer::before {
                        content: '\f056';
                    }
                    &.receipt::before {
                        content: '\f052';
                        font-size: 24px;
                    }
                }
            }
        }
    }
    .documents {
        display: grid;
        grid-template-columns: minmax(0, 1.81fr) minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        width: calc(100% - 40px);
        margin-bottom: 100px;
        > .invoice {
            min-width: 0;
            padding: 30px;
            border-radius: 20px;
            background: var(--bg-3);
            h2 {
                font-family: SSFBreakthrough;
                font-size: 24px;
                font-weight: 800;
                line-height: 1.1;
                color: var(--text-7);
            }
            p {
                max-width: 600px;
                margin-top: 10px;
                line-height: 20px;
            }
            .preview {
                display: block;
                width: 100%;
                height: auto;
                margin-top: 16px;
                border-radius: 20px;
                background: var(--bg-4);
                box-shadow: var(--shadow-1);
            }
        }
        .details {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 0;
            .closing {
                padding: 30px;
                border-radius: 20px;
                background: var(--bg-3);
                h3 {
                    font-family: SSFBreakthrough;
                    font-size: 24px;
                    font-weight: 800;
                    line-height: 1.1;
                    color: var(--text-7);
                }
                p {
                    margin-top: 10px;
                    font-size: 14px;
                    line-height: 20px;
                }
                .items {
                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                    margin-top: 20px;
                    list-style: none;
                    li {
                        display: flex;
                        align-items: center;
                        gap: 12px;
                        padding: 12px 16px;
                        border-radius: 12px;
                        background: var(--bg-4);
                        font-size: 15px;
                        font-weight: 600;
                        line-height: 1.5;
                        &::before {
                            flex: none;
                            width: 20px;
                            font-family: icon;
                            font-size: 20px;
                            font-weight: 400;
                            line-height: 1;
                            color: var(--text-10);
                        }
                        &.invoice::before {
                            content: '\f057';
                        }
                        &.vat::before {
                            content: '\f053';
                        }
                        &.waybill::before {
                            content: '\f058';
                        }
                    }
                }
            }
            .notice {
                padding: 30px;
                border: var(--border-2);
                border-radius: 20px;
                background: var(--bg-4);
                box-shadow: var(--shadow-2);
                .intro {
                    display: flex;
                    align-items: flex-start;
                    gap: 16px;
                    .icon {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex: none;
                        width: 48px;
                        height: 48px;
                        border-radius: 12px;
                        background: var(--bg-14);
                        &::before {
                            content: '\f059';
                            font-family: icon;
                            font-size: 24px;
                            font-weight: 400;
                            line-height: 1;
                            color: var(--text-6);
                        }
                    }
                    .text {
                        flex: 1;
                        min-width: 0;
                        h3 {
                            font-family: SSFBreakthrough;
                            font-size: 18px;
                            font-weight: 800;
                            line-height: 22px;
                            color: var(--text-10);
                        }
                        p {
                            margin-top: 4px;
                            font-size: 15px;
                            line-height: 22px;
                        }
                    }
                }
                .btn-3 {
                    min-height: 50px;
                    margin-top: 30px;
                    padding: 12px 16px;
                    font-size: 14px;
                    line-height: 21px;
                    text-align: center;
                    overflow-wrap: anywhere;
                    color: var(--text-8);
                }
            }
        }
    }
    .faq {
        display: grid;
        grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
        align-items: start;
        gap: 20px;
        width: calc(100% - 40px);
        margin-bottom: 100px;
        .content {
            min-width: 0;
            .head {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                h2 {
                    line-height: 1.1;
                }
                p {
                    line-height: 20px;
                }
            }
        }
        .questions {
            min-width: 0;
            padding: 30px;
            border-radius: 20px;
            background: var(--bg-3);
            .item.open {
                .question {
                    color: var(--text-10);
                }
            }
        }
    }
    .contact-banner {
        .art {
            img {
                position: absolute;
                top: -11.4%;
                left: -3.15%;
                width: 95.74%;
                max-width: none;
                height: 122.81%;
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    main {
        .payment {
            .hero {
                align-items: center;
                min-height: 0;
                padding: 100px 24px 32px;
            }
            .benefits {
                .item {
                    min-height: 154px;
                }
            }
        }
        .documents {
            grid-template-columns: minmax(0, 1fr);
            width: calc(100% - 48px);
            margin-bottom: 80px;
            > .invoice {
                padding: 24px;
            }
            .details {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                .closing, .notice {
                    padding: 24px;
                }
            }
        }
        .faq {
            grid-template-columns: minmax(0, 1fr);
            width: calc(100% - 48px);
            margin-bottom: 80px;
            .content {
                .head {
                    h2 {
                        font-size: 28px;
                    }
                }
            }
            .questions {
                padding: 24px;
            }
        }
    }
}
@media screen and (max-width: 767px) {
    main {
        .payment {
            .hero {
                padding: 24px 16px;
            }
            .benefits {
                .item {
                    min-height: 0;
                }
            }
        }
        .documents {
            width: calc(100% - 32px);
            margin-bottom: 60px;
            > .invoice {
                padding: 24px 20px;
                border-radius: 16px;
                h2 {
                    font-size: 22px;
                    line-height: 28px;
                }
                p {
                    font-size: 14px;
                }
                .preview {
                    border-radius: 16px;
                }
            }
            .details {
                grid-template-columns: minmax(0, 1fr);
                .closing {
                    padding: 24px 20px;
                    border-radius: 16px;
                    h3 {
                        font-size: 22px;
                        line-height: 28px;
                    }
                    .items {
                        li {
                            font-size: 14px;
                            line-height: 20px;
                        }
                    }
                }
                .notice {
                    padding: 24px 20px;
                    border-radius: 16px;
                    .intro {
                        gap: 12px;
                        .icon {
                            width: 40px;
                            height: 40px;
                            &::before {
                                font-size: 20px;
                            }
                        }
                        .text {
                            p {
                                font-size: 14px;
                                line-height: 20px;
                            }
                        }
                    }
                }
            }
        }
        .faq {
            width: calc(100% - 32px);
            margin-bottom: 60px;
            .content {
                .head {
                    h2 {
                        font-size: 26px;
                    }
                    p {
                        font-size: 14px;
                    }
                }
            }
            .questions {
                padding: 16px;
                border-radius: 16px;
            }
        }
    }
}