/* animation */
@-webkit-keyframes shine {
  100% {
    left: 150%;
  }
}
@keyframes shine {
  100% {
    left: 150%;
  }
}
@-webkit-keyframes radial-pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0px rgba(245, 124, 23, 0.5);
            box-shadow: 0 0 0 0px rgba(245, 124, 23, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0 40px rgba(245, 124, 23, 0);
            box-shadow: 0 0 0 40px rgba(245, 124, 23, 0);
  }
}
@keyframes radial-pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0px rgba(245, 124, 23, 0.5);
            box-shadow: 0 0 0 0px rgba(245, 124, 23, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0 40px rgba(245, 124, 23, 0);
            box-shadow: 0 0 0 40px rgba(245, 124, 23, 0);
  }
}
/* fonts */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/RobotoRegular.eot');
  src: local('Roboto Regular'), local('Roboto-Regular'), url('../fonts/RobotoRegular.eot?#iefix') format('embedded-opentype'), url('../fonts/RobotoRegular.woff') format('woff'), url('../fonts/RobotoRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/RobotoMedium.eot');
  src: local('Roboto Medium'), local('Roboto-Medium'), url('../fonts/RobotoMedium.eot?#iefix') format('embedded-opentype'), url('../fonts/RobotoMedium.woff') format('woff'), url('../fonts/RobotoMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/RobotoBold.eot');
  src: local('Roboto Bold'), local('Roboto-Bold'), url('../fonts/RobotoBold.eot?#iefix') format('embedded-opentype'), url('../fonts/RobotoBold.woff') format('woff'), url('../fonts/RobotoBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* common */
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 1.3;
  color: #252547;
  scroll-behavior: smooth;
}
section {
  padding: 60px 0;
}
a {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  color: #315efb;
}
a:visited {
  color: #315efb;
}
a:hover {
  text-decoration: none;
  color: #252547;
}
a:focus,
input:focus,
button:focus,
video:focus,
.slick-slide:focus {
  outline: none;
}
p {
  margin-bottom: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul li {
  position: relative;
  margin-bottom: 8px;
}
ul li:before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #315efb;
  position: absolute;
  top: 10px;
  left: -22px;
}
.button,
a.button,
button[type="submit"].button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 260px;
  height: 50px;
  border: 2px solid #fff;
  background-color: transparent;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.button:hover,
a.button:hover,
button[type="submit"].button:hover {
  text-decoration: none;
  background-color: #fff;
  color: #315efb;
}
::-webkit-input-placeholder {
  color: #252547;
  opacity: 0.3;
}
:-ms-input-placeholder {
  color: #252547;
  opacity: 0.3;
}
::-ms-input-placeholder {
  color: #252547;
  opacity: 0.3;
}
::placeholder {
  color: #252547;
  opacity: 0.3;
}
:-ms-input-placeholder {
  color: #252547;
  opacity: 0.3;
}
::-ms-input-placeholder {
  color: #252547;
  opacity: 0.3;
}
input[type="tel"],
input[type="text"],
input[type="email"],
select {
  border: 1px solid #fff;
  border-radius: 8px;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  padding: 15px 20px;
  margin-bottom: 17px;
}
input[type="tel"].req:invalid,
input[type="text"].req:invalid,
input[type="email"].req:invalid,
select.req:invalid {
  border: 1px solid #f00;
}
input[type=checkbox] {
  display: none;
  width: 0;
}
input[type=checkbox] + span {
  text-align: left;
  font-size: 1.6rem;
}
input[type=checkbox] + span::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #c8c8c8;
  position: static;
  margin-right: 8px;
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}
input[type=checkbox]:checked + span::before {
  background: #c8c8c8 url('../img/checkbox.png') center center no-repeat;
  background-size: 10px 10px;
}
strong,
.bold {
  font-weight: 700;
}
.medium {
  font-weight: 500;
}
.italic {
  font-style: italic;
}
.small {
  font-size: 12px;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.blue {
  color: #315efb;
}
/* typography */
h1,
.h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.4;
}
h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0;
  color: #315efb;
}
.h2 {
  font-size: 48px;
  font-weight: 700;
}
h3,
.h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
}
h4,
.h4 {
  font-size: 1.8rem;
}
.merriweather {
  font-family: 'Merriweather', serif;
}
/* header */
.header {
  padding: 20px 0;
}
.header .logo {
  width: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.header-contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.header-phone {
  display: block;
  color: #315efb;
  font-size: 27px;
  font-weight: 500;
  text-align: right;
}
.header-email {
  display: block;
  color: #315efb;
  font-size: 22px;
  text-align: right;
}
.header .messenger {
  margin-right: 25px;
}
.header .messenger a {
  display: inline-block;
  margin-right: 10px;
}
/* main-screen */
.main-screen {
  padding: 100px 0;
  background: url(../img/bg-main.jpg) center center no-repeat;
  background-size: cover;
  color: #fff;
  position: relative;
}
.main-screen .container {
  position: relative;
  z-index: 1;
}
.main-screen p {
  margin: 15px 0 30px;
  font-size: 20px;
}
/* what */
.what {
  background-color: rgba(49, 94, 251, 0.07);
  padding-bottom: 40px;
}
.what .h2 {
  font-size: 36px;
  margin-bottom: 50px;
}
.what-item {
  width: 270px;
  height: 280px;
  padding: 20px;
  margin: 40px auto;
  background: url(../img/what-bg.png) center no-repeat;
  background-size: contain;
  line-height: 1.2;
}
.what .italic {
  font-size: 18px;
  opacity: 0.5;
  min-height: 160px;
}
.what-text {
  max-width: 890px;
  margin: 0 auto 40px;
  font-size: 30px;
  line-height: 1.2;
}
.author {
  font-size: 15px;
  margin-top: 15px;
}
/* socr */
.socr {
  padding: 110px 0;
  background: url(../img/bg-2.jpg) center no-repeat;
  background-size: cover;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}
.socr .h2 {
  color: #fff;
}
.socr-img {
  margin-top: 60px;
  margin-bottom: 40px;
}
.socr-img img {
  margin-right: 40px;
}
/* finance */
.finance {
  padding: 110px 0;
}
.finance-block {
  margin-top: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.finance .img-fluid {
  max-width: 33%;
  margin-bottom: 40px;
}
/* who */
.who {
  padding-bottom: 120px;
}
.who h2 {
  margin-bottom: 40px;
}
.who-item {
  border: 1px solid #252547;
  border-radius: 20px;
  padding: 40px;
  margin: 30px auto;
  max-width: 370px;
  min-height: 440px;
}
.who h3 {
  font-size: 24px;
  margin-top: 35px;
  margin-bottom: 30px;
}
.who p {
  font-size: 18px;
  margin-bottom: 15px;
}
.who .button,
.who a.button {
  border-color: #315efb;
  color: #315efb;
  margin: 80px auto 0;
}
/* result */
.result {
  background-color: #F1F4FF;
}
.result-items {
  position: relative;
}
.result-items:before {
  content: '';
  width: 2px;
  height: calc(100% - 150px);
  background-color: #315efb;
  position: absolute;
  left: -25px;
  top: 0;
}
.result-item {
  padding-left: 80px;
  margin-bottom: 80px;
  position: relative;
}
.result-item:before {
  content: '1';
  width: 80px;
  height: 80px;
  border: 2px solid #315efb;
  border-radius: 40px;
  background-color: #F1F4FF;
  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;
  text-align: center;
  line-height: 1;
  font-size: 27px;
  color: #315efb;
  position: absolute;
  left: -80px;
  top: 0;
}
.result-item.ri2:before {
  content: '2';
}
.result-item.ri3:before {
  content: '3';
}
.result-item.ri4:before {
  content: '4';
}
.result-item.ri5:before {
  content: '5';
}
.result-item.ri6:before {
  content: '6';
}
.result-item.ri7:before {
  content: '7';
}
.result-item.ri8:before {
  content: '8';
}
.result-item.ri9:before {
  content: '';
  background: #f1f4ff url(../img/ri9.svg) center no-repeat;
}
.result h3 {
  font-size: 27px;
  margin-bottom: 53px;
}
.result p {
  margin-bottom: 17px;
}
/* vygody */
.vygody {
  padding-top: 100px;
}
.vygody-item {
  min-height: 200px;
  margin-top: 80px;
  padding-left: 45px;
  border-left: 5px solid #315efb;
}
.vygody-item h3 {
  margin-bottom: 7px;
}
/* form */
.form {
  background-color: #315efb;
  border-radius: 20px;
  max-width: 800px;
  margin: 110px auto;
  padding: 40px 70px;
}
.form h2 {
  color: #fff;
}
.form h3 {
  color: #fff;
  font-weight: 400;
  text-align: center;
  margin: 30px auto 40px auto;
}
.form label {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #fff;
}
.form button[type="submit"].button {
  margin: 50px auto 0;
}
/* question */
.question {
  max-width: 900px;
  background: url(../img/bg-3.jpg) right center no-repeat;
  background-size: contain;
  margin: 0 auto;
  padding-bottom: 100px;
}
.question p {
  font-size: 24px;
  margin-top: 8px;
  margin-bottom: 40px;
}
.question .header-email {
  text-align: center;
  font-size: 27px;
}
.question .header-phone {
  text-align: center;
  font-size: 36px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.question .messenger a {
  margin-left: 10px;
  margin-right: 10px;
}
/* footer */
.footer {
  background-color: #315efb;
  color: #fff;
  font-size: 16px;
}
.footer p {
  margin: 8px 0;
}
.footer a {
  display: block;
  color: #fff;
}
.footer a:hover {
  text-decoration: none;
  color: #bbb;
}
.footer-container {
  padding: 40px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.footer-contacts {
    text-align: right;
}
.footer-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 25px 15px 30px;
  border-top: 1px solid #fff;
}
/* .modal-body */
.modal-body {
  padding: 30px;
  position: relative;
}
.close {
  position: absolute;
  top: 15px;
  right: 15px;
}
/* up button */
#up {
  display: block;
  background-color: transparent;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: #d2d2d2;
  text-align: center;
  position: fixed;
  bottom: 20px;
  left: 20px;
  opacity: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
  z-index: 9999;
  cursor: pointer;
}
#up:before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: url(../img/up.svg) center no-repeat;
  background-size: contain;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
#up.show {
  opacity: 0.5;
}
#up.show:hover {
  opacity: 1;
}
/* media */
@media (min-width: 1360px) {
  .container {
    max-width: 1300px;
  }
}
@media (max-width: 1359px) {
  .vygody-item {
    font-size: 16px;
  }
}
@media (max-width: 1199px) {
  .header {
    padding: 10px 0;
  }
  .main-screen {
    padding: 60px 0;
  }
  .main-screen p {
    font-size: 18px;
  }
  h1,
  .h1 {
    font-size: 28px;
  }
  .h2 {
    font-size: 36px;
  }
  h3,
  .h3 {
    font-size: 22px;
  }
  .what-text {
    font-size: 24px;
  }
  .socr {
    padding: 60px 0;
  }
  .who-item {
    padding: 25px;
  }
  .vygody-item h3 {
    font-size: 20px;
  }
}
@media (max-width: 992px) {
  h1,
  .h1 {
    font-size: 22px;
  }
  .main-screen p {
    font-size: 16px;
  }
  .what {
    padding-bottom: 60px;
  }
  .what .h2 {
    font-size: 28px;
  }
  .what-text {
    font-size: 21px;
  }
  .h2 {
    font-size: 26px;
  }
  .socr {
    font-size: 18px;
  }
  .finance {
    padding: 60px 0;
  }
  .result h2 {
    margin-bottom: 60px;
  }
  .result h3 {
    padding-top: 12px;
  }
  .result-items:before {
    left: 30px;
  }
  .result-item:before {
    left: -25px;
  }
  .who {
    padding-bottom: 60px;
  }
  .who a.button {
    margin-top: 40px;
  }
  .vygody-item {
    min-height: 100%;
    margin-top: 60px;
  }
  .form h3 {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 15px;
  }
  .logo {
    max-width: 50px;
  }
  .header-phone {
    font-size: 18px;
    white-space: nowrap;
  }
  .header-email {
    font-size: 14px;
  }
  .header .messenger .img-fluid {
    max-width: 20px;
  }
  .main-screen {
    background-position: left center;
  }
  .h1 {
    font-size: 20px;
  }
  .h2 {
    font-size: 26px;
  }
  .what .h2 {
    font-size: 22px;
  }
  .what-text {
    font-size: 18px;
  }
  .finance .img-fluid {
    max-width: 45%;
  }
  .result-items:before {
    height: calc(100% - 130px);
  }
  .result-item {
    padding-left: 60px;
  }
  .result-item h3 {
    padding-top: 0;
    font-size: 18px;
    margin-bottom: 30px;
  }
  .result-item:before {
    width: 50px;
    height: 50px;
    font-size: 20px;
    left: -10px;
  }
  .vygody {
    padding-top: 60px;
  }
  .vygody-item {
    margin-top: 40px;
  }
  .form {
    padding: 40px 20px;
  }
  .form h3 {
    font-size: 17px;
  }
  .question p {
    font-size: 16px;
  }
  .question {
    padding-bottom: 60px;
  }
  .question .header-phone {
    font-size: 30px;
  }
  .question .header-email {
    font-size: 24px;
  }
  .footer .logo {
    max-width: 100%;
  }
  .footer .logo img {
    margin: 0 auto 30px;
  }
  .footer-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
  .footer-bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
  .footer-contacts {
    text-align: center;
  }
}
