.text-section{
    background: url(../images/bg-title.svg);
    background-size: 1920px;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    min-height: 100vh;
}
.text-section > div{
    width: 50%;
}
.text-section .text{
    padding: 130px 60px 230px 230px;
}
.text-section .text h1{
    font-size: 80px;
    color: #212121;
    font-family: "Cormorant Garamond";
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.text-section .text ol{
    padding-left: 20px;
}
.text-section .text ol li,
.text-section .text p{
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 5px;
}

/* calculator */
.calculator{
    margin-top: -190px;
    display: flex;
    align-items: flex-end;
}
.calculator .wrapper-calculator{
    width: 73%;
    background: #f19e39 url(../images/bg-calculator.png) 0 50%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    padding: 60px 130px;
    position: relative;
}
.calculator .wrapper-calculator .items{
    display: flex;
    position: relative;
    /* gap: 140px; */
}
#calculator-line{
    position: absolute;
    left: 12%;
    top: 13px;
    z-index: 0;
    width: 76%;
}
.calculator .wrapper-calculator .items .item{
    width: 25%;
    position: relative;
    z-index: 1;
}
.calculator .wrapper-calculator .items .item > div{
    margin: auto;
}
.calculator .wrapper-calculator .items .type-item{
    width: 160px;
}
.calculator .wrapper-calculator .items .square-item{
    width: 85px;
}
.calculator .wrapper-calculator .items .payment-item{
    width: 195px;
}
.calculator .wrapper-calculator .items .payment-item label{
    width: 48%;
    display: inline-block;
}
.calculator .wrapper-calculator .items .period-item{
    width: 150px;
}
.calculator .wrapper-calculator .item .step{
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    margin: 0 auto 30px;
    font-size: 25px;
    background: #f19e39;
    transition: all .3s;
}
.calculator .wrapper-calculator .item .step.active,
.calculator .wrapper-calculator .item .step.check{
    background: #fff;
    color: #f19e39;
}
.calculator .wrapper-calculator .items .item .title{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
}
.calculator .wrapper-calculator .item input{
    display: none;
}
.calculator .wrapper-calculator .item label{
    font-size: 16px;
    color: #fff;
    display: block;
    padding-left: 30px;
    position: relative;
    margin-bottom: 25px;
    cursor: pointer;
}
.calculator .wrapper-calculator .item label:before{
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 1px;
    border: 1px solid #fff;
}
.calculator .wrapper-calculator .item input:checked + label:after{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 1px;
    left: 1px;
    background-image: url(../images/check-white.svg);
    background-position: center;
    background-repeat: no-repeat;
}
.calculator .military{
    margin: 30px 0;
    padding-left: 35px;
    text-align: center;
}
.calculator .military input{
    display: none;
}
.calculator .military label{
    font-size: 16px;
    color: #fff;
    display: inline-block;
    padding-left: 30px;
    position: relative;
    margin-bottom: 25px;
    cursor: pointer;
    font-weight: 600;
}
.calculator .military label:before{
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 0px;
    border: 1px solid #fff;
}
.calculator .military input:checked + label:after{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0px;
    left: 1px;
    background-image: url(../images/check-white.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.results{
    display: flex;
    justify-content: center;
    gap: 75px;
}
.results .item{
    width: 223px;
    height: 223px;
    background: #379E3B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.results .item p{
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    color: #CAFFCF;
    font-weight: 700;
    max-width: 130px;
    margin: auto;
}
.results .item p.price{
    font-family: "Cormorant Garamond";
    font-size: 80px;
    font-weight: 500;
    line-height: 50px;
    max-width: 100%;
    position: relative;
    top: -14px;
}
.results .item p.title{
    margin-bottom: 15px;
}
.results .item p.dollars{
    margin-top: 15px;
}
.tree-calculator{
    position: absolute;
    bottom: 0;
    right: 20px;
}

.calculator .side{
    width: 27%;
    background: #212121 url(../images/kust-side.png) 50% 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 70px 0 210px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.calculator .side a{
    color: #f19e39;
    max-width: 110px;
}
.calculator .side a .icon + span{
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
.calculator .side .icon{
    width: 107px;
    height: 107px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f19e39;
    margin-bottom: 7px;
}
.calculator .side a:hover .icon{
    background: #1f3528;
}
.calculator .side a:hover{
    color: #1f3528;
}

main .social{
    max-height: 700px;
}

@media screen and (max-width: 1600px) {
    .text-section .text{
        padding-left: 130px;
    }
    .results{
        gap: 30px;
    }
}
@media screen and (max-width: 1359px){
    .text-section .text{
        width: 60%;
    }
    .text-section .image{
        width: 40%;
    }
    .calculator .wrapper-calculator{
        width: 80%;
        padding: 60px;
    }
    .calculator .side{
        width: 20%;
    }
}
@media screen and (max-width: 1200px){
    main .social{
        display: none;
    }
    .calculator{
        flex-wrap: wrap;
    }
    .calculator .wrapper-calculator,
    .calculator .side{
        width: 100%;
    }
    .calculator .side{
        padding: 70px 0;
        background-position: 100% 100%;
        background-size: 40%;
    }
    .text-section .text{
        padding-left: 60px;
    }
    .results .item p.price{
        font-size: 60px;
    }
}
@media screen and (max-width: 991px){
    .text-section .text h1{
        font-size: 50px;
    }
    .text-section .text{
        padding-left: 30px;
        padding-right: 30px;
    }
    .tree-calculator{
        bottom: -200px;
        right: 0;
    }
    .results .item{
        width: 200px;
        height: 200px;
    }
    .results{
        gap: 20px;
    }
    .calculator .wrapper-calculator{
        padding: 60px 30px;
    }
}
@media screen and (max-width: 767px){
    .text-section{
      flex-wrap: wrap;
    }
    .text-section .image{
        /* display: none; */
        width: 100%;
        height: 400px;
    }
    .text-section .text{
        width: 100%;
        padding-bottom: 60px;
    }
    .text-section .text h1{
        text-align: center;
    }
    .calculator .wrapper-calculator{
        background: #f19e39;
    }
    .calculator .wrapper-calculator .items{
        flex-wrap: wrap;
    }
    .calculator .wrapper-calculator .items .item{
        width: 100%;
    }
    .calculator .wrapper-calculator .items .item > div{
        width: 360px;
        padding-left: 60px;
        position: relative;
    }
    .calculator .wrapper-calculator .item .step{
        position: absolute;
        left: 0;
        width: 37px;
        height: 37px;
        top: -10px;
    }
    .calculator .wrapper-calculator .items .item label{
        width: 49%;
        display: inline-block;
    }
    .calculator .wrapper-calculator .items .item .square-item label{
        width: 32%;
    }
    .results{
        flex-wrap: wrap;
    }
    .calculator .side{
        background-position: center 100%;
        padding-bottom: 200px;
        background-size: 500px;
    }
    .tree-calculator{
        bottom: 160px;
        right: auto;
        left: -40px;
        max-width: 150px;
    }
}
@media screen and (max-width: 479px){
    .text-section .text{
        padding-top: 100px;
    }
}
