/* ШРИФТЫ */
@import url("../fonts/PlayfairDisplay/stylesheet.css");
@import url("../fonts/Futura/stylesheet.css");
@import url("../fonts/Lato/stylesheet.css");
@import url("../fonts/Circle/stylesheet.css");
/* ФОН, ОСНОВА */
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow-x: hidden;
}
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}
.lending {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow-x: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow: hidden;
}
.lending-container {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  max-height: 970px;
  padding: 30px 0;
}
@media (max-width: 1300px) {
  .lending-container {
    height: auto;
  }
}
@media (max-width: 767px) {
  .lending-container {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    padding: 20px 0;
  }
}
.lending-container-inner {
  height: 100%;
  z-index: 3;
  position: relative;
  width: 100%;
  padding-right: 60px;
  padding-left: 60px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1860px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  min-height: 620px;
}
@media (max-width: 1300px) {
  .lending-container-inner {
    max-width: 100%;
    padding-right: 65px;
    padding-left: 65px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    min-height: auto;
    height: auto;
  }
}
@media (max-width: 767px) {
  .lending-container-inner {
    height: 100%;
    padding-left: 29px;
    padding-right: 29px;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
@media (max-width: 374px) {
  .lending-container-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 1300px) {
  .container-item {
    margin: 2vh 0;
    margin: calc(var(--vh, 1vh) * 2) 0;
  }
}
@media (max-width: 767px) {
  .container-item {
    margin: 0 0;
  }
}
/* ЗАГОЛОВКИ */
.title {
  font-family: "Playfair Display";
  color: #f2bf5c;
  line-height: 1;
  font-size: 100px;
}
.title.title--mobile {
  display: none;
  max-width: none;
}
@media (max-width: 767px) {
  .title.title--mobile {
    display: block;
    font-size: 45px;
  }
}
@media (max-width: 374px) {
  .title.title--mobile {
    font-size: 35px;
  }
}
@media (max-width: 1700px) {
  .title {
    font-size: 80px;
  }
}
@media (max-width: 1300px) {
  .title {
    font-size: 70px;
    line-height: 1;
  }
}
@media (max-width: 767px) {
  .title {
    display: none;
    text-align: center;
  }
}
.subtitle {
  font-family: "FuturaLightC";
  font-size: 78px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 1.4px;
  line-height: 1;
}
@media (max-width: 1700px) {
  .subtitle {
    font-size: 60px;
  }
}
@media (max-width: 1300px) {
  .subtitle {
    font-size: 52px;
  }
}
@media (max-width: 767px) {
  .subtitle {
    font-size: 37px;
  }
}
@media (max-width: 374px) {
  .subtitle {
    font-size: 27px;
  }
}
/* КАРТИНКИ */
.photo {
  position: absolute;
  left: 730px;
  bottom: 0;
  height: 83%;
  -webkit-transform: translate(0, 6%);
          transform: translate(0, 6%);
  background-size: 100% 100%;
  min-height: 700px;
}
@media (max-width: 1700px) {
  .photo {
    left: 570px;
  }
}
@media (max-width: 1300px) {
  .photo {
    min-height: auto;
    height: 58%;
    bottom: 2vh;
    left: 485px;
  }
}
@media (max-width: 767px) {
  .photo {
    position: relative;
    height: 40%;
    -ms-flex-item-align: end;
        align-self: flex-end;
    left: initial;
    bottom: initial;
    -webkit-transform: translate(30%, 0px);
            transform: translate(30%, 0px);
  }
}
@media (max-width: 374px) {
  .photo {
    height: 35%;
  }
}
.price {
  position: absolute;
  width: 400px;
  height: 330px;
  background: #9f9a5e;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-family: "FuturaDemiC";
  font-size: 45px;
  color: #fff;
  left: 880px;
  top: 8%;
}
.price div:nth-child(1) {
  margin-bottom: 30px;
}
@media (max-width: 1300px) {
  .price div:nth-child(1) {
    margin-bottom: 15px;
  }
}
.price div:nth-child(2) {
  font-family: FuturaBookC;
  font-weight: 300;
  font-size: 40px;
}
@media (max-width: 1300px) {
  .price div:nth-child(2) {
    font-size: 22px;
  }
}
@media (max-width: 767px) {
  .price div:nth-child(2) {
    font-size: 16px;
  }
}
@media (max-width: 1700px) {
  .price {
    left: 670px;
    top: 0;
  }
}
@media (max-width: 1300px) {
  .price {
    width: 220px;
    height: 190px;
    font-size: 28px;
    left: 578px;
    top: 22%;
  }
}
@media (max-width: 991px) {
  .price {
    left: 540px;
  }
}
@media (max-width: 767px) {
  .price {
    width: 170px;
    height: 145px;
    font-size: 21px;
    left: 29px;
    top: 46%;
  }
}
@media (max-width: 374px) {
  .price {
    width: 136px;
    height: 116px;
    font-size: 17px;
  }
}
.leaf-1 {
  position: absolute;
  -webkit-transform: translate(-46%, -54%);
          transform: translate(-46%, -54%);
  z-index: 1;
  width: 800px;
}
@media (max-width: 1300px) {
  .leaf-1 {
    display: none;
  }
}
.leaf-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  -webkit-transform: translate(0px, 60%);
          transform: translate(0px, 60%);
  width: 544px;
}
@media (max-width: 1300px) {
  .leaf-2 {
    width: 350px;
    display: none;
  }
}
/* ФОРМА */
.form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (max-width: 767px) {
  .form {
    -ms-flex-item-align: center;
        align-self: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
input {
  border-width: 2px;
  border-color: #e5be63;
  border-style: solid;
  position: relative;
  font-family: "Lato";
  outline: none;
  width: 442px;
  height: 110px;
  padding: 0 20px 0 77px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: transparent;
  color: #fff;
  font-size: 30px;
  margin-bottom: 35px;
  text-align: center;
}
@media (max-width: 1700px) {
  input {
    height: 88px;
  }
}
@media (max-width: 1300px) {
  input {
    margin-right: 0;
    margin-bottom: 18px;
    width: 372px;
    height: 97px;
  }
}
@media (max-width: 767px) {
  input {
    padding: 0 20px 0 47px;
    width: 235px;
    font-size: 19px;
    height: 56px;
    max-width: 340px;
  }
}
.input-number__inner {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.input-number__inner:before {
  content: "";
  background-image: url("../img/phone-icon.png");
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  left: 70px;
  top: 39px;
  position: absolute;
}
@media (max-width: 1700px) {
  .input-number__inner:before {
    top: 29px;
  }
}
@media (max-width: 1300px) {
  .input-number__inner:before {
    top: 34px;
    left: 60px;
  }
}
@media (max-width: 767px) {
  .input-number__inner:before {
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    left: 27px;
    top: 18px;
  }
}
@media (max-width: 767px) {
  .input-number__inner {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.button {
  font-family: "Lato";
  position: relative;
  cursor: pointer;
  font-size: 30px;
  text-decoration: none;
  width: 442px;
  height: 103px;
  background-color: #e5be63;
  -webkit-box-shadow: 0 16px 32px rgba(0,0,0,0.4), inset 0 1px 32px rgba(255,255,255,0.52);
          box-shadow: 0 16px 32px rgba(0,0,0,0.4), inset 0 1px 32px rgba(255,255,255,0.52);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: none;
  font-weight: bold;
  outline: none;
}
@media (max-width: 1700px) {
  .button {
    height: 80px;
  }
}
@media (max-width: 1300px) {
  .button {
    width: 372px;
    height: 90px;
  }
}
@media (max-width: 767px) {
  .button {
    height: 51px;
    width: 235px;
    max-width: 340px;
    font-size: 22px;
  }
}
.button:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -5px;
  z-index: -1;
  width: 100%;
  height: 104px;
  background-color: #9a8043;
  border-radius: 0 0 5px 5px;
}
@media (max-width: 1700px) {
  .button:after {
    height: 80px;
  }
}
@media (max-width: 1300px) {
  .button:after {
    width: 372px;
    height: 90px;
  }
}
@media (max-width: 767px) {
  .button:after {
    height: 51px;
    width: 235px;
  }
}
/* БЛОК С НОМЕРОМ ТЕЛЕФОНА */
.number-block {
  font-family: "Lato";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 280px;
  letter-spacing: 0.7px;
  font-size: 29px;
  font-weight: 100;
  color: #fff;
  padding-top: 2px;
  justify-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}
.number-block a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
}
@media (max-width: 1300px) {
  .number-block {
    font-size: 21px;
  }
}
@media (max-width: 767px) {
  .number-block {
    font-size: 17px;
    text-align: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.number-block__text {
  text-align: center;
  font-size: 21px;
  margin-top: 11px;
  background: #65b868;
  border-radius: 17px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 38px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 202px;
  line-height: 1;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 500;
  -webkit-box-shadow: 0 0 27px rgba(137,207,35,0.29);
          box-shadow: 0 0 27px rgba(137,207,35,0.29);
}
@media (max-width: 1300px) {
  .number-block__text {
    font-size: 16px;
    margin-top: 10px;
    height: 29px;
    width: 160px;
  }
}
@media (max-width: 767px) {
  .number-block__text {
    font-size: 12px;
    margin-top: 10px;
    height: 21px;
    width: 122px;
  }
}
