/* global */
body{
  position: relative;
}
.calculator-tree,
.calculator-tree-2{
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
}
.calculator-tree-2{
  bottom: calc(100vw / 4);
  max-width: calc(100vw / 10);
  z-index: 1;
}
.calculator-tree{
  bottom: 0;
  z-index: 2;
  max-width: calc(100vw / 7);
}
footer{
  position: relative;
  z-index: 4;
}
@media screen and (max-width: 1199px){
  .calculator-tree-2{
    bottom: calc(100vw / 3);
  }
}
@media screen and (max-width: 1040px){
  .calculator-tree,
  .calculator-tree-2{
    display: none;
  }
}
/* -- global */

/* hero */
.hero{
  display: flex;
  align-items: center;
  position: relative;
}
.hero:after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background: linear-gradient(180deg, #FFFFFF 80%, rgba(255, 255, 255, 0) 100%);
}
.hero > div{
  width: 50%;
  position: relative;
  z-index: 9;
}
.hero .text{
  padding: calc(100vw / 48) calc(100vw / 21.33333333);
}
.hero .text h1{
  font-size: calc(100vw / 21.33333333);
  font-weight: 500;
  margin-bottom: 40px;
}
.hero .text h1 span{
  display: block;
  font-size: calc(100vw / 12.8);
}
.hero .text p{
  margin-bottom: 15px;
  font-size: calc(100vw / 80);
}
.hero .image img{
  border-radius: 50px 0 0 50px;
}
@media screen and (max-width: 1199px){
  .hero .text h1{
    font-size: 40px;
    margin-top: 80px;
    margin-bottom: 20px;
  }
  .hero .text h1 span{
    font-size: 60px;
  }
  .hero .text p{
    font-size: 16px;
  }
}
@media screen and (max-width: 991px){
  .hero .text h1{
    margin-bottom: 20px;

    font-size: calc(100vw / 24.775);
  }
  .hero .text h1 span{
    font-size: calc(100vw / 24.775);
  }

}
@media screen and (max-width: 767px){
  .hero{
    flex-wrap: wrap;
  }
  .hero > div{
    width: 100%;
  }
  .hero .text{
    text-align: center;
    padding-top: 80px;
  }
  .hero .text h1{
    font-size: 40px;
    margin-top: 0;
  }
  .hero .text h1 span{
    font-size: 60px;
  }
  .hero .image{
    padding: 0 calc(100vw / 21.33333333);
  }
  .hero .image img{
    border-radius: 30px;
  }
  .hero:before{
    content: '';
    position: absolute;
    bottom: 0%;
    left: 0;
    width: 100%;
    background-image: url(../images/sky.jpg);
    background-size: cover;
    background-position: center;
    height: 130%;
    z-index: -2;
  }
  .hero:after{
    content: '';
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    height: 30%;
    width: 100%;
    z-index: 0;
    background: linear-gradient(0deg, #FFFFFF 80%, rgba(255, 255, 255, 0) 100%);
  }
}
/* -- hero */

/* calculator */
.calculator{
  padding: calc(100vw / 48) calc(100vw / 21.33333333);
  min-height: 125vh;
  position: relative;
  background-image: url(../images/bg-calculator.jpg);
  background-position: 50% 100%;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.calculator:after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  height: 70%;
  background: linear-gradient(180deg, #FFFFFF 60%, rgba(255, 255, 255, 0) 80%);
}
.calculator .title-section{
  margin-bottom: 40px;
  position: relative;
  z-index: 9;
}
.calculator .title-section h2{
  text-align: center;
  margin-bottom: 20px;
}
.calculator .title-section p{
  text-align: center;
}
.wrapper-calculator{
  margin-bottom: 40px;
  display: flex;
  /* flex-wrap: wrap; */
  gap: 10px;
  max-width: 1920px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 9;
}
.wrapper-calculator .item{
  width: 33%;
}
.wrapper-calculator .item .title{
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #244E67;
  margin-bottom: 25px;
}
.wrapper-calculator .item input{
  display: none;
}
.wrapper-calculator .item label{
  display: block;
  position: relative;
  font-size: 18px;
  color: #518EB4;
  padding-left: 34px;
  line-height: 36px;
  cursor: pointer;
}
.wrapper-calculator .item label sup{
  font-size: 13px;
  line-height: 1;
}
.wrapper-calculator .item label:after{
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  border: 1px solid #98C8DE;
}
.wrapper-calculator .item input:checked + label:before{
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: #98C8DE;
}
.wrapper-calculator .result{
  width: calc(60% - 30px);
}
.result .item-result{
  display: flex;
  margin-bottom: 32px;
  border: 1px solid #98C8DE;
  border-radius: 40px;
}
.result .item-result > *{
  line-height: 72px;
}
.result .item-result .name{
  font-size: 19px;
  font-weight: 700;
  color: #244E67;
  background: #98C8DE;
  border-radius: 40px 0 0 40px;
  width: 270px;
  padding: 0 20px;
}
.result .item-result .price-uah{
  font-size: 31px;
  font-weight: 200;
  color: #244E67;
  position: relative;
  padding: 0 15px;
  width: calc(100% - 390px);
}
.result .item-result .price-uah:after{
  content: '';
  position: absolute;
  right: 0;
  top: 17px;
  bottom: 17px;
  width: 1px;
  background: #98C8DE;
}
.result .item-result .price-usd{
  font-size: 17px;
  font-weight: 500;
  color: #518EB4;
  position: relative;
  padding: 0 15px;
  width: 120px;
}
.text-center{
  text-align: center;
  position: relative;
  z-index: 9;
}
.wrapper-calculator .item.item-military{
  width: 100%;
  margin-top: 40px;
}
.wrapper-calculator-variant{
  display: flex;
  flex-wrap: wrap;
  width: 60%;
}
@media screen and (max-width: 1499px){
  .result .item-result .price-uah{
    font-size: 24px;
  }
  .calculator{
    background-size: auto 80%;
  }
  .calculator:after{
    height: 80%;
  }
}
@media screen and (max-width: 1350px){
  .result .item-result .name{
    font-size: 16px;
    padding: 0 15px;
    width: 225px;
  }
  .result .item-result .price-uah{
    width: calc(100% - 345px);
  }
}
@media screen and (max-width: 1280px){
  .result .item-result .price-uah {
    font-size: 20px;
  }
}
@media screen and (max-width: 1199px){
  .wrapper-calculator{
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .wrapper-calculator .item{
    width: calc((100% - 60px) / 3);
    padding-left: 40px;
  }
  .wrapper-calculator .result{
    width: 100%;
    max-width: 700px;
  }
  .wrapper-calculator .item .title{
    margin-bottom: 10px;
  }
  .result .item-result .price-uah{
    font-size: 30px;
  }
  .calculator .title-section h2{
    font-size: 60px;
  }
  .calculator{
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 150vh;
  }
  .calculator:after {
      height: 100vh;
  }
  .calculator{
      background-size: auto 70%;
  }
  .wrapper-calculator-variant{
    width: 100%;
    gap: 20px;
    max-width: 700px;
    margin: auto;
  }
}
@media screen and (max-width: 767px){
  .wrapper-calculator .item{
    width: calc((100% - 30px) / 2);
    padding-left: 40px;
  }
  .result .item-result .price-uah{
    font-size: 23px;
  }
  .calculator .title-section h2{
    font-size: 40px;
  }
  .calculator {
      background-size: auto 50%;
  }
  .calculator:after {
    height: 90%;
    background: linear-gradient(180deg, #FFFFFF 60%, rgba(255, 255, 255, 0) 80%);
  }
  .wrapper-calculator-variant{
    justify-content: center;
  }
  .wrapper-calculator .item.item-military{
    margin-top: 0;
  }
  .wrapper-calculator .item.item-military label{
    line-height: 1.3;
  }
}
@media screen and (max-width: 599px){
  .result .item-result .price-uah{
    font-size: calc(100vw / 26.08695652);
    padding: 0 calc(100vw / 40);
    width: calc(100% - 100vw / 2.666666667 - 100vw / 5);
  }
  .result .item-result .price-usd{
    font-size: calc(100vw / 35.29411765);
    width: calc(100vw / 5);
    padding: 0 calc(100vw / 40);
  }
  .result .item-result .name{
    width: calc(100vw / 2.666666667);
    font-size: calc(100vw / 37.5);
    padding: 0 calc(100vw / 40);
  }
}
@media screen and (max-width: 479px){
  .result .item-result > * {
      line-height: 38px;
  }
  .result .item-result{
    margin-bottom: 18px;
  }
  .wrapper-calculator .item{
    padding-left: 0;
  }
  .wrapper-calculator .item .title{
    font-size: 16px;
  }
  .wrapper-calculator .item label{
    font-size: 16px;
  }
}
/* -- calculator */
