
.main__wrapper {
    position: relative;
    background: url(../img/bg-2.webp) no-repeat;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-size: cover;
    align-items: baseline;
    margin-bottom: 32px;
    z-index: 0
}

.main__wrapper::after {
    position: absolute;
    content: '';
    max-width: 844px;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, #fff 42.71%, rgba(254, 254, 255, .902933) 65.63%, rgba(253, 253, 254, .74) 81.77%, rgba(246, 247, 249, 0) 100%);
    z-index: -1
}

.main .section-title {
    order: -1;
    margin-bottom: 15px
}

.main-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: .008em;
    text-transform: uppercase;
    color: #bb8e34
}

.main .main-title {
    max-width: 560px;
    margin-bottom: 46px
}

.section-title {
    font-weight: 400;
    font-size: 22px;
    line-height: 22px;
    letter-spacing: .008em;
    text-transform: uppercase;
    color: #666;
    text-align: center;
    margin-bottom: 32px
}

.maintabs__wrapper .section-title {
    margin-bottom: 30px
}

.main__items {
    max-width: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 46px
}

.main__item {
    max-width: 160px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}


.main__item-img {
    width: 68px;
    height: 68px;
    margin-bottom: 10px
}

.main__desc {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: .008em;
    text-transform: uppercase;
    color: #666;
    max-width: 716px;
    margin-bottom: 47px
}

.main__note {
    background: #fafafa;
    box-shadow: 0 4px 10px rgba(102, 102, 102, .25);
    border-radius: 6px;
    max-width: 716px;
    width: 100%;
    padding: 11px 6px;
    margin-top: 47px;
}

.main__note p {
    font-size: 14px;
    line-height: 12px;
    letter-spacing: .008em;
    color: #757575;
}

a.button.button-calculate {
    padding: 16px 24px;
    width: 207px;
    box-shadow: 0 4px 10px rgba(102, 102, 102, .25);
    font-size: 14px;
    text-align: center;
    justify-content: center;
    color: #fff
}

.maintabs__wrapper {
    padding: 25px 0;
    background: #fafafa;
    box-shadow: 0 4px 10px rgba(102, 102, 102, .25);
    border-radius: 6px
}

.maintabs__tabs {
    display: flex;
    padding: 0 75.5px;
    justify-content: space-between;
    margin-top: 30px
}

.maintabs__item p {
    color: #666
}

.maintabs__item {
    max-width: 130px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: 0 0;
    padding: 0;
    border: none
}

.maintabs__item.active p {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .008em;
    color: #bb8e34;
    text-decoration: underline;
    text-underline-offset: 1px
}

.maintabs__item.item_1:hover .tab__item-icon {
    cursor: pointer;
    background: url(../img/cost-1a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25));
    transition: all .08s linear
}

.maintabs__item.item_2:hover .tab__item-icon {
    cursor: pointer;
    background: url(../img/cost-2a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25));
    transition: all .08s linear
}

.maintabs__item.item_3:hover .tab__item-icon {
    cursor: pointer;
    background: url(../img/cost-3a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25));
    transition: all .08s linear
}

.maintabs__item.item_4:hover .tab__item-icon {
    cursor: pointer;
    background: url(../img/cost-4a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25));
    transition: all .08s linear
}

.maintabs__item.item_5:hover .tab__item-icon {
    cursor: pointer;
    background: url(../img/cost-5a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25));
    transition: all .08s linear
}

.maintabs__item.item_6:hover .tab__item-icon {
    cursor: pointer;
    background: url(../img/cost-6a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25));
    transition: all .08s linear
}

.tab__item-icon {
    width: 67px;
    height: 67px;
    margin-bottom: 10px;
    transition: all .08s linear
}

.maintabs__item.item_1 .tab__item-icon {
    background: url(../img/cost-1.svg) no-repeat;
    background-size: contain;
    transition: all .08s linear
}

.maintabs__item.item_1.active .tab__item-icon {
    background: url(../img/cost-1a.svg) no-repeat;
    background-size: contain;
    transition: all .08s linear;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25))
}

.maintabs__item.item_2 .tab__item-icon {
    background: url(../img/cost-2.svg) no-repeat;
    background-size: contain
}

.maintabs__item.item_2.active .tab__item-icon {
    background: url(../img/cost-2a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25))
}

.maintabs__item.item_3 .tab__item-icon {
    background: url(../img/cost-3.svg) no-repeat;
    background-size: contain
}

.maintabs__item.item_3.active .tab__item-icon {
    background: url(../img/cost-3a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25))
}

.maintabs__item.item_4 .tab__item-icon {
    background: url(../img/cost-4.svg) no-repeat;
    background-size: contain
}

.maintabs__item.item_4.active .tab__item-icon {
    background: url(../img/cost-4a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25))
}

.maintabs__item.item_5 .tab__item-icon {
    background: url(../img/cost-5.svg) no-repeat;
    background-size: contain
}

.maintabs__item.item_5.active .tab__item-icon {
    background: url(../img/cost-5a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25))
}

.maintabs__item.item_6 .tab__item-icon {
    background: url(../img/cost-6.svg) no-repeat;
    background-size: contain
}

.maintabs__item.item_6.active .tab__item-icon {
    background: url(../img/cost-6a.svg) no-repeat;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(102, 102, 102, .25))
}

.maintabs__answers {
    padding: 20px 0
}

.maintab__answer {
    position: relative;
    padding: 10px 50px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(102, 102, 102, .25);
    border-radius: 6px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s
}

.maintab__answer p {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: .008em;
    color: #666
}

.answer__arrow-icon {
    max-width: 54px;
    max-height: 40px
}

.answer_1 .answer__arrow-icon,
.answer_2 .answer__arrow-icon,
.answer_3 .answer__arrow-icon,
.answer_4 .answer__arrow-icon,
.answer_5 .answer__arrow-icon,
.answer_6 .answer__arrow-icon {
    position: absolute;
    top: -25px
}

.answer_1 .answer__arrow-icon {
    left: 10%;
    transform: translate(-10%, 0)
}

.answer_2 .answer__arrow-icon {
    left: 25%;
    transform: translate(-25%, 0)
}

.answer_3 .answer__arrow-icon {
    left: 42%;
    transform: translate(-42%, 0)
}

.answer_4 .answer__arrow-icon {
    left: 58%;
    transform: translate(-58%, 0)
}

.answer_5 .answer__arrow-icon {
    left: 74%;
    transform: translate(-74%, 0)
}

.answer_6 .answer__arrow-icon {
    left: 90%;
    transform: translate(-90%, 0)
}

.answer_2,
.answer_3,
.answer_4,
.answer_5,
.answer_6 {
    display: none
}

@-webkit-keyframes fadeEffect {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@media (max-width:1130px) {

    .main__wrapper {
        position: relative;
        background: url(../img/bg-2_tablet.webp) no-repeat;
        padding-top: 40px;
        padding-left: 50px;
        padding-right: 50px;
        background-size: cover;
        background-position: top right;
        z-index: 0
    }

    .main__wrapper::after {
        position: absolute;
        content: '';
        max-width: 710px;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: -2;
        background: linear-gradient(90deg, rgba(254, 254, 255, .902933) 19.12%, rgba(253, 253, 254, .74) 46.65%, rgba(246, 247, 249, 0) 100%);
        width: 100%
    }

    .main__wrapper::before {
        position: absolute;
        content: '';
        width: 100%;
        height: 480px;
        bottom: 0;
        left: 0;
        background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0, rgba(60, 60, 60, .408054) 38.54%, rgba(34, 34, 34, .671141) 65.1%, #000 100%);
        z-index: -1
    }

    .main .main-title {
        margin-bottom: 55px;
        font-weight: 700;
        line-height: 52px;
        max-width: 460px;
        font-size: 46.5px
    }

    .main__items {
        flex-direction: column;
        align-items: flex-start;
        max-width: 380px;
        margin-bottom: 35px
    }

    .main__item {
        flex-direction: row;
        align-items: center;
        max-width: 100%;
        text-align: left
    }

    .main__item .main__item-img {
        margin-right: 10px;
    }


    .main__item:not(:last-child) {
        margin-bottom: 20px;
    }

    .main__item p {
        font-size: 27px;
        line-height: 32px
    }

    .main__item-img {
        width: 118px;
        height: 118px
    }

    .main__items .main__item:nth-child(3) {
        max-width: 100%
    }

    .main__desc {
        color: #fafafa;
        max-width: 410px;
        margin-bottom: 144px;
        font-size: 23.25px;
        line-height: 28px
    }

    a.button.button-calculate {
        padding: 20px 0;
        margin: 0;
        font-size: 27px;
        width: 410px;
        line-height: 40px
    }

    .main__note p {
        letter-spacing: .008em;
        color: #a2a2a2;
        font-weight: 400;
        font-size: 22px;
        line-height: 22px
    }

    .main__note {
        padding: 12px 20px;
        margin-left: 0;
        max-width: 700px;
        position: absolute;
        top: 100%;
        left: 50%;
        margin-top: 20px;
        transform: translate(-50%, 0)
    }

    .maintabs__wrapper {
        padding: 20px 16px;
        margin-top: 200px
    }

    .main .section-title {
        text-align: center;
        max-width: 100%;
        font-size: 19px
    }

    .main .main__wrapper .section-title {
        text-align: left;
        max-width: 280px;
        font-weight: 400;
        font-size: 27px;
        line-height: 32px;
        margin-bottom: 25px
    }

    .maintabs__tabs {
        flex-wrap: wrap;
        padding: 0;
        gap: 10px 38px;
        justify-content: space-between;
        max-width: 586px;
        margin: auto
    }

    button.maintabs__item {
        max-width: 250px;
        flex-direction: revert;
        align-items: center;
        padding: 13.5px 0
    }

    .tab__item-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
        flex-shrink: 0;
        margin-right: 13px
    }

    .maintabs__item p {
        font-size: 19px;
        line-height: 22px
    }

    .maintabs__item.item_1.active p,
    .maintabs__item.item_2.active p,
    .maintabs__item.item_3.active p,
    .maintabs__item.item_4.active p,
    .maintabs__item.item_5.active p,
    .maintabs__item.item_6.active p {
        font-size: 19px;
        line-height: 22px
    }

    .maintabs__item.item_1 .tab__item-icon,
    .maintabs__item.item_2 .tab__item-icon,
    .maintabs__item.item_3 .tab__item-icon,
    .maintabs__item.item_4 .tab__item-icon,
    .maintabs__item.item_5 .tab__item-icon,
    .maintabs__item.item_6 .tab__item-icon {
        background-size: cover
    }

    .answer_1 .answer__arrow-icon,
    .answer_3 .answer__arrow-icon,
    .answer_5 .answer__arrow-icon {
        left: 28%;
        transform: translate(-28%, 0)
    }

    .answer_2 .answer__arrow-icon,
    .answer_4 .answer__arrow-icon,
    .answer_6 .answer__arrow-icon {
        left: 75%;
        transform: translate(-75%, 0)
    }

    .maintabs__answers {
        padding: 20px 16px 16px 16px;
        max-width: 690px;
        margin: auto
    }

    .maintab__answer {
        padding: 16px
    }

    .maintab__answer p {
        letter-spacing: .008em;
        color: #a2a2a2;
        font-weight: 400;
        font-size: 24px;
        line-height: 26px
    }

}

@media screen  and (max-width: 767px) {
    
    .main__wrapper {
        padding-left: 30px;
        padding-right: 20px;
        padding-top: 60px;
        padding-bottom: 32px
    }

    .main .main__wrapper .section-title {
        font-size: 21px;
        line-height: 24px;
        margin-bottom: 16px
    }

    .main .main-title {
        font-weight: 700;
        font-size: 36px;
        line-height: 39px;
        margin-bottom: 25px;
        max-width: 375px
    }

    .main__items {
        max-width: 330px;
        /* gap: 26px 10px; */
        margin-bottom: 42px
    }

    .main__item:not(:last-child) {
        margin-bottom: 26px;
    }

    .main__desc {
        font-size: 18px;
        line-height: 21px;
        max-width: 332px;
        margin-bottom: 32px
    }

    .main__item .main__item-img {
        margin-right: 15px;
    }

    .main__item-img {
        width: 92px;
        height: 92px;
        margin-bottom: 0
    }

    .main__item p {
        font-weight: 400;
        font-size: 21px;
        line-height: 24px
    }

    a.button.button-calculate {
        font-weight: 700;
        font-size: 21px;
        line-height: 23px;
        padding: 18px 0;
        width: 402px;
        margin: auto
    }

    .main__note {
        max-width: 526px;
        padding: 10px 15px;
        margin-top: 16px
    }

    .main__note p {
        font-weight: 400;
        font-size: 16px;
        line-height: 16px
    }

    .maintabs__wrapper {
        padding: 30px;
        margin-top: 140px
    }

    .tab__item-icon {
        width: 75px;
        height: 75px;
        margin-right: 15px
    }

    .maintabs__item.active p {
        font-weight: 400;
        font-size: 18px;
        line-height: 21px
    }

    button.maintabs__item {
        max-width: 187px
    }

    .maintabs__tabs {
        max-width: 450px;
        gap: 15px 15px
    }

    .maintabs__item p {
        font-size: 18px;
        line-height: 22px;
        word-break: break-word
    }

    .maintabs__item.item_1.active p,
    .maintabs__item.item_2.active p,
    .maintabs__item.item_3.active p,
    .maintabs__item.item_4.active p,
    .maintabs__item.item_5.active p,
    .maintabs__item.item_6.active p {
        font-size: 18px;
        line-height: 22px
    }

    .maintab__answer p {
        font-weight: 400;
        font-size: 24px;
        line-height: 27px
    }

    .maintabs__answers {
        padding: 16px;
        max-width: 512px;
        margin: auto
    }

    
    .section-title {
        font-size: 21px;
        line-height: 24px
    }
}


@media (max-width:575px) {
    .main__wrapper {
        padding-top: 40px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 16px
    }

    .main__wrapper::before {
        height: 234px
    }

    .main .section-title {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 17px;
        text-align: center;
        max-width: 100%
    }

    .main .main-title {
        margin-bottom: 25px;
        font-weight: 700;
        font-size: 24px;
        line-height: 26px;
        max-width: 240px
    }

    .main__items {
        flex-direction: column;
        align-items: flex-start;
        max-width: 300px;
        margin-bottom: 22px
    }

    .main__item:not(:last-child) {
        margin-bottom: 18px;
    }

    .main__item {
        flex-direction: row;
        align-items: center;
        max-width: 204px;
        text-align: left
    }

    .main__items .main__item:nth-child(3) {
        max-width: 215px
    }

    .main__desc {
        color: #fafafa;
        margin-bottom: 20px;
        font-size: 12px;
        line-height: 14px;
        max-width: 222px
    }

    a.button.button-calculate {
        padding: 10px 0;
        margin: auto;
        width: 262px;
        font-size: 14px;
        line-height: 20px
    }

    .main__note p {
        font-weight: 400;
        font-size: 11px;
        line-height: 11px;
        letter-spacing: .008em;
        color: #a2a2a2
    }

    .main__note {
        padding: 6px 10px;
        margin-top: 10px;
        max-width: 343px
    }

    .maintabs__wrapper {
        padding: 20px 16px;
        margin-top: 100px
    }

    .main__item-img {
        width: 60px;
        height: 60px
    }

    .main .main__wrapper .section-title {
        text-align: left;
        max-width: 184px;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 16px
    }

    .main__item p {
        font-size: 14px;
        line-height: 16px
    }

    button.maintabs__item {
        max-width: 124px;
        flex-direction: revert;
        align-items: center;
        padding: 6px 0
    }

    .tab__item-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
        margin-right: 10px
    }

    .maintabs__item p {
        font-size: 12px;
        line-height: 14px
    }

    .maintabs__item.item_1.active p,
    .maintabs__item.item_2.active p,
    .maintabs__item.item_3.active p,
    .maintabs__item.item_4.active p,
    .maintabs__item.item_5.active p,
    .maintabs__item.item_6.active p {
        font-size: 12px;
        line-height: 14px
    }

    .maintabs__tabs {
        max-width: 298px
    }

    .answer__arrow-icon {
        display: block
    }

    .maintabs__item.item_1 .tab__item-icon,
    .maintabs__item.item_2 .tab__item-icon,
    .maintabs__item.item_3 .tab__item-icon,
    .maintabs__item.item_4 .tab__item-icon,
    .maintabs__item.item_5 .tab__item-icon,
    .maintabs__item.item_6 .tab__item-icon {
        background-size: cover
    }

    .answer_1 .answer__arrow-icon,
    .answer_3 .answer__arrow-icon,
    .answer_5 .answer__arrow-icon {
        left: 28%;
        transform: translate(-28%, 0)
    }

    .answer_2 .answer__arrow-icon,
    .answer_4 .answer__arrow-icon,
    .answer_6 .answer__arrow-icon {
        left: 80%;
        transform: translate(-80%, 0)
    }

    .maintabs__answers {
        padding: 20px 0 10px 0;
        max-width: 343px
    }

    .maintab__answer {
        padding: 10px
    }

    .maintab__answer p {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: .008em;
        color: #a2a2a2
    }
}