body {
  font-family: Inter;
  color: #222222;
}
.container {
  margin: 0 auto;
  max-width: calc(100% - 15px * 2);
  width: 1300px;
}
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.centered {
  text-align: center;
}
.btn {
  padding: 23px 26px;
  background: #d2b668;
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 700;
  line-height: 24.38px;
  text-align: center;
  border-radius: 67px;
  -webkit-border-radius: 67px;
  -moz-border-radius: 67px;
  -ms-border-radius: 67px;
  -o-border-radius: 67px;
  display: block;
  border: none;
  margin: 0 auto;
  color: #ffffff;
  width: 600px;
  max-width: 100%;
}
.regular_section {
  padding: 100px 0;
}
@media (max-width: 767px) {
  .regular_section {
    padding: 50px 0;
  }
}

/* header */
header {
  background-color: #f7f7f7;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  padding: 7px 0;
  padding-left: 44px;
  box-shadow: 0px 6px 7.8px 0px #b1b1b11a;
  border-bottom: #b1b1b1;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
}
.header_inner {
  justify-content: space-between;
  align-items: center;
}
.header_nav ul {
  gap: 30px;
}
.logo {
  width: 118px;
  height: 79px;
}
.burger_btn {
  display: none;
  width: 32px;
  flex-direction: column;
  gap: 3px;
}
.burger_btn span {
  display: block;
  width: 100%;
  height: 2.2px;
  transform-origin: 61% 50%;
  background-color: #80714e;
  transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -o-transition: transform 0.3s;
}

@media (max-width: 725px) {
  header {
    padding: 17px 0;
    padding-right: 13px;
    padding-left: 0;
  }
  .burger_btn {
    display: flex;
  }
  .header_nav:has(.show) .burger_btn span:nth-child(2) {
    display: none;
  }
  .header_nav:has(.show) .burger_btn span:nth-child(1) {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
  }
  .header_nav:has(.show) .burger_btn span:nth-child(3) {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }
  .header_menu {
    /*display: none;
    */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    height: calc(100% - 86px);
    position: fixed;
    left: 0;
    top: 86px;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transition: transform 0.3s;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -ms-transition: transform 0.3s;
    -o-transition: transform 0.3s;
  }
  .header_menu.show {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
  body:has(.header_menu.show) {
    overflow-y: hidden;
  }
  .logo {
    width: 78px;
    height: 52px;
  }
}

/* hero */
.hero {
  background-image: url("../img/hero-bg.png");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.title {
  margin-top: 35px;
  font-family: Montserrat;
  font-size: 40px;
  font-weight: 800;
  line-height: 50px;
}
.hero_section {
  padding: calc(213px + 93px) 0 173px;
  color: #ffffff;
}
.form_section_inner {
  align-items: flex-start;
}
.hero_text {
  max-width: calc(100% - 500px);
  padding-top: 110px;
}
.hero_text .btn {
  margin-left: 0;
}
@media (max-width: 725px) {
  .hero_section {
    padding: calc(82px + 86px) 0 54px;
  }
}
/* form */
form {
  width: 500px;
  max-width: 100%;
  padding: 36px 44px 50px;
  background-color: #f7f8f8;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
input,
label {
  display: block;
  width: 100%;
}
.form_title {
  margin-top: 10px;
  text-align: center;
  color: #1b3942;
  font-family: Montserrat;
  font-size: 24px;
  font-weight: 700;
  line-height: 29.26px;
}
.filed_group {
  flex-direction: column;
  gap: 24px;
  margin: 34px auto;
}
input {
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 500;
  line-height: 21.94px;
  color: #666666;
  padding: 12px 21px;
  border: 1px solid #d5d9ed;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
form .btn {
  font-family: Inter;
  font-size: 19.05px;
  line-height: 23.22px;
  font-weight: 800;
  padding: 19px 0;
}
form [type="submit"] {
  font-size: 18px;
  line-height: 18px;
  padding: 15px 0;
  text-transform: uppercase;
  font-family: Inter;
}
@media (max-width: 1260px) {
  .form_section_inner {
    gap: 60px;
  }
  .hero_text {
    max-width: calc(100% - 500px - 60px);
  }
}
@media (max-width: 991px) {
  .form_section_inner {
    align-items: center;
    flex-direction: column;
  }
  .hero_text {
    width: 500px;
    max-width: 100%;
    padding: 0;
  }
  form {
    padding: 38px 10px 50px;
  }
  form .btn:not([type="submit"]) {
    font-size: 14px;
    line-height: 17.07px;
    width: 294px;
    padding: 13.5px 0;
  }
  .form_title {
    margin-top: 17px;
  }
}
@media (max-width: 767px) {
  .title {
    margin-top: 19px;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
  }
}
@media (max-width: 500px) {
  .btn {
    font-size: 12px;
    line-height: 14.63px;
    padding: 14.5px 5px;
  }
}

.filled_section {
  background-color: #f8f8f8;
}

/* half_section */
.half_section {
  padding: 70px 0;
}
.half_part {
  max-width: calc(50% - 30px / 2);
  gap: 40px;
  flex-direction: column;
  align-items: flex-start;
  padding: 33px 0;
}
.half_inner .half_part:nth-child(2n) {
  border-left: 1px solid #b1b1b1;
  padding-left: 30px;
}
.half_inner .half_part:nth-child(2n + 1) {
  padding-right: 30px;
}
.big_title {
  font-family: Montserrat;
  font-size: 48px;
  font-weight: 700;
  line-height: 58.51px;
  color: #191d26;
}
.section_text {
  font-family: Montserrat;
  font-size: 24px;
  font-weight: 500;
  line-height: 29.26px;
  color: #222;
  max-width: 100%;
  margin: 0 auto;
}
.human_card {
  gap: 24px;
  color: #222222;
}
.main_text {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #222222;
}
.human_icon {
  width: 100px;
  height: 100px;
}
.human_title {
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 700;
  line-height: 21.94px;
  margin-bottom: 10px;
  display: block;
}
.human_text {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.5px;
  color: #b1b1b1;
}
@media (max-width: 970px) {
  .half_section {
    padding: 60px 0;
  }
  .half_part {
    max-width: 100%;
    gap: 20px;
    padding: 0;
  }
  .half_inner .half_part:nth-child(2n) {
    border-top: 1px solid #b1b1b1;
    border-left: initial;
    padding-left: 0px;
    padding-top: 36px;
  }
  .half_inner .half_part:nth-child(2n + 1) {
    padding-right: 0px;
    padding-bottom: 36px;
  }
  .big_title {
    font-size: 24px;
    line-height: 29.26px;
  }
  .section_text {
    font-size: 16px;
    line-height: 19.5px;
  }
  .half_inner {
    flex-direction: column;
  }
  .human_card {
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
  }
}

/* calculator */
.section_title {
  font-family: Montserrat;
  font-size: 40px;
  font-weight: 700;
  line-height: 48.76px;
  text-align: center;
  color: #191d26;
  margin-bottom: 15px;
}
.section_title span {
  color: #d2b668;
}
.calculator {
  margin-top: 50px;
  gap: 54px;
  /* margin-left: 80px; */
}
.calculator_card {
  box-shadow: 0px 1px 19.3px 7px #00000014;
  border: 4px solid #d2b668;
  padding: 35px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  text-align: center;
  width: 724px;
  max-width: 100%;
}
.calculator_title {
  font-family: Montserrat;
  font-size: 24px;
  font-weight: 500;
  line-height: 29.26px;
  color: #222;
}
.slider {
  margin: 60px 0 85px;
}
.calculator .btn {
  font-family: Inter;
  font-size: 17.36px;
  font-weight: 600;
  line-height: 26.04px;
}
.calculator .btn .span {
  font-size: 26.04px;
  font-weight: 700;
  line-height: 26.04px;
}
.calculator_text {
  flex-direction: column;
  gap: 50px;
  align-items: flex-start;
  color: #222222;
  width: 435px;
  max-width: 100%;
}
.calculator_stat b {
  font-family: Montserrat;
  font-size: 40px;
  font-weight: 600;
  line-height: 48.76px;
}
.calculator_stat p {
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.94px;
  margin-bottom: 11px;
}
@media (max-width: 1295px) {
  .calculator {
    margin-left: 0;
  }
}
@media (max-width: 1190px) {
  .calculator {
    flex-direction: column;
    box-shadow: 0px 1px 8px 5px #00000014;
    border: 2px solid #d2b668;
    margin-top: 60px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    padding: 40px;
  }
  .calculator_card {
    border: none;
    width: auto;
    box-shadow: none;
    padding: 0;
  }
  .calculator_text {
    width: auto;
    text-align: center;
    align-items: center;
  }
}
@media (max-width: 676px) {
  .section_title {
    font-size: 24px;
    line-height: 29.26px;
  }
  .calculator {
    padding: 41px 14px 25px;
    gap: 21px;
  }
  .calculator_title {
    font-size: 18px;
    line-height: 24px;
  }
  .slider {
    margin: 65px 0 87px;
    padding-left: 20px;
    padding-right: 30px; 
  }
  .calculator .btn {
    font-size: 12px;
    line-height: 18px;
  }
  .calculator .btn span {
    font-size: 18px;
    line-height: 18px;
  }
  .calculator_text {
    gap: 36px;
  }
  .calculator_stat b {
    font-size: 18px;
    line-height: 21.94px;
  }
  .calculator_stat p {
    font-size: 12px;
    line-height: 14px;
    margin-bottom: 0;
  }
}

/* slider */
.noUi-target,
.noUi-base {
  height: 3.5px;
  background-color: #c8c6c6;
}
.noUi-pips-horizontal {
  height: auto !important;
  padding: 0;
}
.noUi-horizontal .noUi-handle::before,
.noUi-horizontal .noUi-handle::after {
  display: none;
}

.noUi-horizontal .noUi-handle {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #d2b668;
  right: -8px;
}
.noUi-pips .noUi-value-horizontal {
  font-family: Montserrat;
  font-size: 14.62px;
  font-weight: 600;
  line-height: 17.83px;
  text-align: center;
  color: #222;
  top: 23px;
}
.noUi-pips .noUi-value-horizontal {
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.noUi-pips .noUi-value-horizontal:last-child {
  transform: translateX(-100%) !important;
  -webkit-transform: translateX(-100%) !important;
  -moz-transform: translateX(-100%) !important;
  -ms-transform: translateX(-100%) !important;
  -o-transform: translateX(-100%) !important;
}
.noUi-marker-horizontal.noUi-marker {
  width: 1.75px;
  height: 8px;
}
.noUi-marker-horizontal.noUi-marker-large {
  width: 1.75px;
  background: #c8c6c6;
  height: 14px;
}
.slider {
  position: relative;
}
.slider_icon {
  position: absolute;
  padding: 2px 4px;
  background-color: #e2e2e2;
  color: #222222;
  bottom: 17px;
  font-family: Montserrat;
  font-size: 10.97px;
  font-weight: 600;
  line-height: 13.37px;
  text-align: center;
}
.noUi-tooltip{
      font-family: Montserrat;
  font-size: 10.97px;
  font-weight: 600;
  line-height: 13.37px;
  border-radius: 0;
  padding: 2px 4px;
  bottom: 187%!important;
      background-color: #d2b668;
      border: none;color:#fff;
}
.slider_icon:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 7px solid #687a7f;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.slider .slider_icon:first-child {
  left: 0;
}
.slider .slider_icon:nth-child(2) {
  right: 0;
}
.slider_icon.active {
  background-color: #d2b668;
  color: #ffffff;
}
.slider_icon.active:after {
  border-top-color: #fd8704;
}
@media (max-width: 676px) {
  .slider_icon {
    transform: initial !important;
    -webkit-transform: initial !important;
    -moz-transform: initial !important;
    -ms-transform: initial !important;
    -o-transform: initial !important;
  }
  .slider .slider_icon:first-child::after, .slider .slider_icon:nth-child(2)::after {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
  }
  /*.slider .slider_icon:nth-child(2)::after {*/
  /*  left: 100%;*/
  /*  transform: translateX(-100%);*/
  /*  -webkit-transform: translateX(-100%);*/
  /*  -moz-transform: translateX(-100%);*/
  /*  -ms-transform: translateX(-100%);*/
  /*  -o-transform: translateX(-100%);*/
  /*}*/
  .calculator .btn {
    max-width: calc(100% - 24px * 2);
  }
}
@media (max-width: 460px) {
  .noUi-pips .noUi-value-horizontal {
    font-size: 10px;
  }
  /* .slider_icon {
    padding: 1px 2px;
    font-size: 5.74px;
    line-height: 7px;
  } */
  /* .noUi-horizontal .noUi-handle {
    width: 8px;
    height: 8px;
    right: -4px;
    top: -3px;
  }
  .slider_icon:after {
    border-left: 2.395px solid transparent;
    border-right: 2.395px solid transparent;
    border-top: 3.83px solid black;
  } */
}
@media (max-width: 420px) {
  #calc_results {
    display: block;
  }
}

/* cards */
.cards {
  margin: 0 auto;
  margin-top: 60px;
  /* max-width: calc(100% - 60px * 2); */
  gap: 50px;
}
.card {
  width: 361px;
  max-width: calc(33% - 50px * 2 / 3);
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 50px;
  gap: 47px;
  box-shadow: 0px 0px 6px 6px #0000001a;
  height: 380px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  justify-content: flex-start;
}
.card_title {
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 700;
  line-height: 21.94px;
  margin-bottom: 16px;
}
.card_img {
  min-height: 120px;
}
@media (max-width: 1085px) {
  .cards {
    flex-wrap: wrap;
  }
  .card {
    max-width: calc(50% - 50px / 2);
  }
}
@media (max-width: 710px) {
  .cards {
    margin-top: 50px;
    flex-direction: column;
  }
  .card {
    max-width: 100%;
  }
}
@media (max-width: 390px) {
  .section_title br {
    display: none;
  }
}

/* footer */
.footer_section {
  background: #1f1a0c;
  padding: 133px 0 41px;
  color: #ffffff;
}
.footer_section .form_section_inner {
  gap: 10px;
}
.footer_logo {
  width: 253px;
  height: 78px;
  margin-bottom: 36px;
}
.footer_section .section_text {
  color: #fff;
}
.footer_title {
  margin-bottom: 16px;
}
.footer_section .hero_text {
  padding-top: 73px;
}
@media (max-width: 1255px) {
  .footer_section .hero_text {
    padding-top: 0px;
  }
}
@media (max-width: 1210px) {
  .footer_section .form_section_inner {
    align-items: center;
    flex-direction: column;
  }
  .footer_logo {
    text-align: center;
    display: block;
    margin: 0 auto;
  }
  .footer_title {
    margin-top: 39px;
    text-align: center;
    margin-bottom: 18px;
  }
  .footer_section .section_text {
    text-align: center;
  }
  .footer_section .form_section_inner {
    gap: 37px;
  }
}
@media (max-width: 767px) {
  .footer_section {
    padding: 39px 0 68px;
  }
}

/* footer */
footer {
  margin-top: 56px;
  font-family: Montserrat;
  font-size: 16px;
  line-height: 19.5px;
}
.footer_inner {
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.footer_nav ul {
  /* justify-content: space-between; */
  gap: 20px;
  /* width: 472px; */
  max-width: 100%;
  flex-wrap: wrap;
}
@media (max-width: 950px) {
  .footer_inner {
    justify-content: center;
  }
}
@media (max-width: 550px) {
  .footer_nav ul {
    flex-direction: column;
    gap: 20px;
  }
  .footer_inner {
    text-align: center;
  }
}
