.swap-block {
    display: flex;
    gap: 32px;
    align-items: center;

    .block:nth-child(1) {
        width: calc(42% - 12px);
    }

    .block:nth-child(2) {
        width: calc(58% - 20px);
    }

    h2 {
        margin-top: 12px;
        margin-bottom: 24px;
        color: #171717;
        font-style: 32px;
        font-weight: 600;
    }

    p {
        margin-bottom: 10px;
    }

    p:last-child {
        margin-bottom: 0;
    }
}

.swiper.metod {
    .swiper-scrollbar.swiper-scrollbar-horizontal {
        margin-top: 8px;
        border-radius: 8px;
    }

    .slide {
        display: flex;
        gap: 8px;
        border-radius: 8px;

        .img {
            width: calc(50% - 4px);
            height: 300px;
            position: relative;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                border-radius: 8px;
            }

            span {
                position: absolute;
                top: 12px;
                left: 0;
                padding: 6px 12px;
                border-radius: 0 6px 6px 0;
                background: #fff;
                color: #29A6B3;
                font-weight: 500;
                font-size: 14px;
                box-shadow: 0px 10px 10px 0px #0000001A;
            }
        }
    }
}


.txt-btn {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px;
    box-shadow: 0px 0px 30px 0px #AAB2BF59;
    border-radius: 8px;
    background: #fff;

    p {
        color: #171717;
    }

    .icon {
        padding-left: 28px;
        position: relative;

        svg {
            position: absolute;
            width: 20px;
            height: 20px;
            left: 0;
            top: 0;
        }
    }

    .zag {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 8px;

        .price-big {
            color: #29A6B3;
        }

        .price-del {
            font-size: 18px;
            text-decoration: line-through;
            color: #717D90;
        }
    }

    .txt {
        font-size: 14px;
    }
}


.block-metod {
    margin-top: 32px;
    border-radius: 16px;
    background: #fff;
    padding: 20px;
    color: #171717;

    ul li:before {
        display: none;
    }

    ul li {
        list-style: disc;
        font-size: 14px;
        padding: 0 !important;
    }

    h3 {
        font-weight: 600;
        font-size: 24px;
        margin-bottom: 8px;
    }

    .info {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 16px;

        p {
            font-weight: 500;
            font-size: 14px;
            color: #717D90;

            span {
                color: #171717;
                padding: 4px 8px;
                border-radius: 30px;
                background: #FF383C33;
                display: inline-block;
            }
        }
    }

    .cards {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-start;

        .block {
            width: calc(22% - 4px);
            padding: 16px;
            background: #EDEEF3;
            border-radius: 16px;
            position: relative;
            overflow: hidden;

            p.zag {
                font-size: 14px;
                font-weight: 500;
                color: #171717;
                padding: 10px;
                border-radius: 6px;
                background-color: #ffffffc4;
            }

            p {
                position: relative;
                z-index: 2;
            }

            .img:not(.block:nth-of-type(1) .img) {
                position: absolute;
                pointer-events: none;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                z-index: 1;
            }
        }


        .block:nth-of-type(1) {
            width: calc(33% - 6px);
            color: #171717;

            p {
                margin-bottom: 10px;
                font-size: 14px;
            }

            p.zag {
                display: none;
            }

            .img {
                width: 140px;
                height: 140px;
                object-fit: contain;
                position: absolute;
                right: 16px;
                bottom: 16px;
            }


            ul {
                width: calc(100% - 140px);
                padding: 0 !important;
                margin-left: 25px;
            }
        }

        .block.hidden {
            display: none;
        }
    }
}

.block-metod._alt {
    background: linear-gradient(270deg, #005A63 0%, #00B6C9 100%);
    color: #fff;
    margin-bottom: 32px;

    .info {

        p {
            color: #FFFFFF99;

            span {
                color: #171717;
                background: #fff;
            }
        }
    }
}

.new-form-page {
    .info-vrach {
        width: 186px;
        padding: 16px;
        background: #fff;
        border-radius: 8px;
        position: absolute;
        right: 24px;
        bottom: 24px;

        .zag {
            color: #171717;
            font-size: 16px;
            font-weight: 800;
            position: relative;
            padding-left: 12px;
        }

        .zag::after {
            position: absolute;
            content: "";
            left: 0;
            width: 6px;
            height: 6px;
            background: #00B6C9;
            border-radius: 16px;
            top: 50%;
            transform: translateY(-50%);
            margin-bottom: 6px;
        }

        .txt {
            font-size: 10px;
            color: #414141;
            margin-bottom: 6px;
        }

        .link-form {
            font-size: 10px;
            color: #00B6C9;
            text-decoration: underline;
        }
    }
}

.app .callback.new-form-page {
    background: none;

    h2,
    .link-icon,
    span {
        color: #fff;
    }
}


.tarif-prem {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 32px 0;

    .block {
        width: calc(50% - 4px);
        padding: 12px;
        border-radius: 8px;
        background: #fff;
        padding-left: 60px;
        position: relative;

        .zag {
            color: #171717;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .txt {
            font-size: 14px;
        }
    }

    .block:before {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        content: "\e90f";
        font-family: icomoon;
        width: 40px;
        height: 40px;
        box-sizing: border-box;
        border-radius: 100%;
        border: 1px solid rgba(0, 182, 201, .25);
        font-size: 12px;
        color: #00b6c9;
        left: 12px;
        top: 12px;
    }
}

.hfe-prem .section {
    padding-left: 0;
    padding-right: 0;
}

.hfe-prem {
    * {
        box-sizing: border-box;
    }

    .page-banner {
        background-color: #005A63;
        color: #fff;

        .big-list__item {
            background: #FFFFFF33;

        }

        .big-list__item:before {
            border: 1px solid #FFFFFF;
            color: #fff;
        }

        .h1 {
            color: #fff;
        }

        .btn {
            background: #fff;
            color: #29A6B3;
        }
    }

    .btn {
        background: linear-gradient(90deg, #00B6C9 0%, #005A63 100%);
    }

    .swiper-button-next,
    .app .swiper-button-prev {
        background: linear-gradient(90deg, #00B6C9 0%, #005A63 100%);
    }
}

.hfe-prem {
    .page-banner {
        position: relative;

        .page-banner__inner {
            position: relative;
            z-index: 2;
        }
    }

    .page-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-image: url(/imgs/fon_banner-new-page.png);
        background-size: cover;
        pointer-events: none;
    }

    .result__img {
        min-height: 200px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .faq__item {
        margin-bottom: 0;
    }

    .zag-text-link {
        margin-right: auto;

        span {
            color: #29a6b3;
        }
    }

    .swiper.posledstviya {
        display: none;
    }


    .block-header__nav {
        max-width: 600px;
    }
}


@media (max-width: 1023px) {
    .hfe-prem .callback__img {
        display: block;
    }
}


@media(max-width: 767px) {
    .hfe-prem {
        .swap-block {
            flex-wrap: wrap;
            gap: 20px;

            .block:nth-child(1),
            .block:nth-child(2) {
                width: 100%;
            }
        }

        .txt-btn {
            flex-wrap: wrap;
        }

        .block-metod {
            .info {
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                gap: 4px;

                p {
                    color: #171717;
                    font-size: 12px;
                    padding: 4px 8px;
                    background: #FF383C33;
                    border-radius: 30px;
                    align-self: flex-start;

                    span {
                        background: #fff0;
                        padding: 0;
                        color: #171717;
                        font-size: 12px;
                    }
                }
            }
        }

        .block-metod._alt {
            & .info {
                p {
                    background: #fff;
                    color: #171717;

                    span {
                        background: none;
                    }
                }
            }
        }

        .block-metod {
            & .cards {
                .block:nth-of-type(1) {
                    width: 100%;
                    height: auto;

                    .img {
                        display: none;
                    }
                }

                .block.hidden {
                    display: block;
                }

                .block {
                    width: calc(50% - 4px);
                    height: 180px;
                }
            }
        }

        .tarif-prem {
            .block {
                width: 100%;
            }
        }

        @media (max-width: 767px) {
            .quote__btn i.icon {
                display: inline-block;
            }
        }

        .callback.new-form-page {
            padding-bottom: 250px;
        }

        .callback__img {
            width: 280px;
            height: 252px;
        }

        .new-form-page {
            .info-vrach {
                right: unset;
            }
        }

        .block-metod.pk {
            display: none;
        }

        .swiper.posledstviya {
            display: block;

            .swiper-scrollbar {
                margin-top: 0;
            }
        }
    }
}