@font-face {
    font-family: 'Montserrat';
    src: url(./fonts/Montserrat-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url(./fonts/Montserrat-SemiBold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: 'Montserrat';
    src: url(./fonts/Montserrat-Bold.ttf);
    font-weight: 700;
}

.price-page {
    background-color: #fafafa;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.45;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;

    --color-accent: #F18F15;
    --color-grey: #b3b3b3;
}

.price-page *,
.price-page *::before,
.price-page *::after {
    box-sizing: inherit;
}

/* .container {
    width: 100%;
    max-width: 1564px;
    padding-left: 32px;
    padding-right: 32px;
    margin: 0 auto;
} */

.btn {
    flex-shrink: 0;
    padding: 26px;
    font-size: 22px;
    line-height: 1;
    border-radius: 10px;
    outline: none;
    border: 2px solid var(--color-grey);
    color: var(--color-accent);
    background-color: #fff;
    min-width: 300px;
    text-decoration: none;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.btn--small {
    min-width: 200px;
    padding: 12px;
    font-size: 16px;
}

/* top banner */
.price-page-top-banner {
    width: 100%;
    padding-top: 54px;
    padding-bottom: 60px;
    padding-left: 16px;
    padding-right: 16px;
    color: #fff;
    background-color: grey;
    background-image: url(../../img/price/first-banner-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.price-page-top-banner_title {
    font-size: 56px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.price-page-top-banner_text {
    text-align: center;
    margin-bottom: 46px;
    font-size: 28px;
}

.price-page-top-banner_form {
    width: 100%;
    max-width: 730px;
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.price-page-top-banner_form-input {
    min-width: 1px;
    flex-grow: 1;
    border-radius: 10px;
    outline: none;
    border: none;
    padding: 24px;
    font-size: 22px;
}

.price-page-top-banner_form-submit {
    flex-shrink: 0;
    padding: 27px 66px;
    font-size: 22px;
    line-height: 1;
    border-radius: 10px;
    outline: none;
    border: none;
    background-color: var(--color-accent);
    color: #fff;
}

/*====================*/
.tarif-block {
    padding-top: 60px;
    padding-bottom: 64px;
}
.tarif-block_top {
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 75px;
}
.tarif-block_title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}
.tarif-block_text {
    font-size: 25px;
    line-height: 1.5;
    max-width: 1280px;
}
.tarif-block_text p {
    padding: 0;
    margin: 0;
}
.tarif-block_append {
    margin-top: 73px;
    display: flex;
    width: 100%;
    justify-content: center;
}

/*=====================*/

.price-card {
    width: 100%;
    display: flex;
    gap: 30px;
    padding: 22px 50px;
    border: 2px solid #fff;
    border-radius: 20px;
    min-height: 180px;
    background-color: #fff;
}
.price-card--expanded .price-card_expandable {
    max-height: 999px;
    transition: max-height 1s ease-in-out;
}
.price-card:hover {
    border-color: var(--color-accent);
}
.price-card + .price-card {
    margin-top: 40px;
}
.price-card_header {
    /* flex-shrink: 2; */
    width: 30%;
    max-width: 450px;
}
.price-card_title {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}
.price-card_body {
    width: 70%;
    overflow: hidden;
    display: flex;
    gap: 16px;
    position: relative;
    padding-right: 150px;
    max-width: 850px;
}
.price-card_main{
    min-width: 1px;
    flex-grow: 1;
}
.price-card_pic {
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: auto;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.price-card_pic > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.price-card_pic img {
    width: 100%;
    height: auto;
}

.price-card_expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.price-card_list {
    padding: 0 0 0 20px;
    margin: 0;
}
.price-card_list li {
    list-style-type: disc;
}
.price-card_expandable .price-card_list {
    padding-top: 6px;
}
.price-card_list li {
    line-height: 1.45;
    padding: 0 !important;
}
.price-card_list li + li {
    margin-top: 6px;
}
.price-card_actions {
    margin-top: 20px;
}

/*===================*/

.price-page-second-banner {
    width: 100%;
    background-color: blue;
    min-height: 610px;
    color: #fff;
    background-image: url(./img/second-banner-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    padding-top: 48px;
}
.price-page-second-banner_title {
    font-size: 60px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}
.price-page-second-banner_text {
    font-size: 34px;
    max-width: 1100px;
    text-align: center;
    margin: 0 auto 65px;
}
.price-page-second-banner_items {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}
.price-page-second-banner_item {
    min-width: 1px;
    flex: 1 1 25%;
    text-align: center;
}
.price-page-second-banner_item-pic {
    width: 100%;
    max-width: 130px;
    aspect-ratio: 1;
    margin: 0 auto 40px;
}
.price-page-second-banner_item-pic img {
    width: 100%;
    height: auto;
}
.price-page-second-banner_item-text {
    font-size: 24px;
}

/*=================*/

.price-page-feedback {
    padding-top: 65px;
    padding-bottom: 112px;
}
.price-page-feedback_title {
    font-size: 50px;
    margin-bottom: 7px;
    font-weight: 700;
    text-align: center;
}
.price-page-feedback_subtitle {
    font-size: 32px;
    text-align: center;
    margin-bottom: 100px;
}
.price-page-feedback_carousel {
    width: 100%;
    padding: 0 78px;
    margin: 0 auto;
    position: relative;
}
.price-page-feedback_carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}
.price-page-feedback_carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-130%);
    width: 40px;
    height: 40px;
    color: #999999;
    font-size: 20px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}
.price-page-feedback_carousel-control svg {
    width: 1em;
    height: auto;
}
.price-page-feedback_carousel-control--prev {
    left: 10px;
}
.price-page-feedback_carousel-control--next {
    right: 10px;
}
.price-page-feedback_carousel .dots {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin-top: 50px;
}
.price-page-feedback_carousel .dot {
    width: 16px;
    height: 16px;
    background-color: #e6e6e6;
    border-radius: 50%;
}
.price-page-feedback_carousel .dot--active {
    background-color: #4d4d4d;
}
.price-page-feedback_carousel .swiper-slide {
    height: auto !important;
}

.price-page-feedback_card {
    box-sizing: border-box;
    width: 100%;
    padding: 40px 40px 54px;
    border-radius: 20px;
    height: 100%;
    min-height: 600px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}
.price-page-feedback_card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 2.4 / 1;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}
.price-page-feedback_card-logo img {
    max-width: 100%;
    height: auto;
}
.price-page-feedback_card-content {
    font-size: 18px;
    line-height: 1.625;
    margin-bottom: 20px;
}
.price-page-feedback_card-content p {
    margin: 0;
    padding: 0;
}
.price-page-feedback_card-footer {
    margin-top: auto;
}
.price-page-feedback_card-author {
    font-size: 22px;
    margin-bottom: 5px;
}
.price-page-feedback_card-author-additional {
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .btn {
        padding: 14px;
        font-size: 18px;
    }

    .price-page {
        font-size: 14px;
    }
    .price-page-top-banner_title {
        font-size: 32px;
        margin-bottom: 5px;
    }
    .price-page-top-banner_text {
        font-size: 20px;
        margin-bottom: 14px;
    }
    .price-page-top-banner_form {
        max-width: 450px;
    }
    .price-page-top-banner_form-submit {
        padding: 16px;
        min-width: 190px;
        font-size: 16px;
    }

    .price-page-top-banner_form-input {
        padding: 16px;
        font-size: 14px;
    }


    .tarif-block {
        padding-top: 38px;
    }
    .tarif-block_top {
        /* padding-left: 60px;
        padding-right: 60px; */
        margin-bottom: 65px;
    }
    .tarif-block_title {
        margin-bottom: 38px;
    }
    .tarif-block_text {
        font-size: 20px;
        line-height: 1.4;
    }
    .tarif-block_append {
        margin-top: 54px;
    }
    .tarif-block_append .btn {
        min-width: 250px;
    }


    .price-card{
        padding-left: 30px;
        padding-right: 30px;
    }
    .price-card_header {
        max-width: 280px;
    }
    .price-card_title {
        font-size: 20px;
    }
    .price-card_list {
        padding-top: 0;
    }
    .price-card_list li + li {
        margin-top: 0;
    }
    .price-card_expandable .price-card_list {
        padding-top: 0;
    }
    .price-card_pic {
        width: 100px;
        top: 0;
    }


    .price-page-second-banner {
        min-height: 400px;
    }
    .price-page-second-banner_title {
        font-size: 34px;
        margin-bottom: 0;
    }
    .price-page-second-banner_text {
        font-size: 20px;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 48px;
        line-height: 1.2;
    }
    .price-page-second-banner_item-pic {
        max-width: 80px;
        margin-bottom: 20px;
    }
    .price-page-second-banner_item-text {
        font-size: 16px;
        line-height: 1.1;
    }


    .price-page-feedback {
        padding-top: 50px;
    }
    .price-page-feedback_title {
        font-size: 28px;
        margin-bottom: 14px;
    }
    .price-page-feedback_subtitle {
        font-size: 20px;
        margin-bottom: 60px;
    }
    .price-page-feedback_carousel {
        padding-left: 60px;
        padding-right: 60px;
    }
    .price-page-feedback_carousel-control {
        font-size: 12px;
    }
    .price-page-feedback_carousel .dots {
        gap: 10px;
    }
    .price-page-feedback_carousel .dot {
        width: 10px;
        height: 10px;
    }


    .price-page-feedback_card {
        min-height: 400px;
    }
    .price-page-feedback_card-logo {
        margin-bottom: 32px;
        max-width: 150px;
    }
    .price-page-feedback_card-content {
        font-size: 14px;
        line-height: 1.36;
    }
    .price-page-feedback_card-author {
        font-size: 14px;
        margin-bottom: 0;
    }
    .price-page-feedback_card-author-additional {
        font-size: 12px;
    }
}

@media screen and (max-width: 490px) {
    /* .container {
        padding-left: 26px;
        padding-right: 26px;
    } */

    .btn {
        font-size: 14px;
        padding: 12px;
    }

    .price-page {
        font-size: 12px;
    }

    .price-page-top-banner {
        padding-top: 28px;
        padding-bottom: 34px;
    }
    .price-page-top-banner_title {
        font-size: 22px;
        line-height: 1.2;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .price-page-top-banner_text {
        font-size: 10px;
        margin-bottom: 22px;
    }
    .price-page-top-banner_form {
        max-width: 380px;
        gap: 20px;
    }
    .price-page-top-banner_form-input {
        font-size: 10px;
        padding: 12px;
        line-height: 1;
    }
    .price-page-top-banner_form-submit {
        font-size: 10px;
        padding: 12px;
        min-width: 120px;
    }


    .tarif-block {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .tarif-block_top {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 32px;
    }
    .tarif-block_title {
        font-size: 22px;
        margin-bottom: 26px;
    }
    .tarif-block_text {
        font-size: 14px;
        line-height: 1.55;
    }
    .tarif-block_append .btn {
        min-width: 200px;
    }

    .price-card {
        flex-direction: column;
        padding: 12px 26px;
        gap: 0;
        position: relative;
        min-height: unset;
    }
    .price-card_header {
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }
    .price-card_body {
        max-width: 100%;
        width: 100%;
        padding-right: 80px;
        min-height: 60px;
    }
    .price-card_pic {
        width: 68px;
        margin-top: -8px;
    }

    .price-page-second-banner {
        padding-top: 42px;
        min-height: 250px;
    }
    .price-page-second-banner_title {
        font-size: 20px;
    }
    .price-page-second-banner_text {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 36px;
    }
    .price-page-second-banner_item-pic {
        max-width: 60px;
        margin-bottom: 0;
    }
    .price-page-second-banner_item-text {
        display: none;
    }

    .price-page-feedback {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .price-page-feedback_title {
        line-height: 1.13;
        margin-bottom: 10px;
    }
    .price-page-feedback_subtitle {
        font-size: 13px;
        margin-bottom: 42px;
    }
    .price-page-feedback_carousel .dots {
        margin-top: 26px;
    }
}