* {
  box-sizing: border-box;
}

div,
p,
span,
a,
li,
h1,
h2,
h3,
h4,
h5,
h6,
label,
input,
button {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

body {
  min-height: 100vh;
  background: #F5F9FF;
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  color: #434d67;
  box-sizing: border-box;
  margin: 0;
  font-size: 28px;
  line-height: 32px;
  overflow-x: hidden;
}

p {
  margin: 0 auto;
  max-width: 900px;
}

img {
  max-width: 100%;
}

a,
.open-modal {
  color: #2589FF;
  text-decoration: underline;
  cursor: pointer;
}

a:hover,
.open-modal:hover {
  color: #6DB0FF;
}

.text-center {
  text-align: center;
}


.owxhidden {
  overflow-x: hidden;
}

.row {
  margin: 0 -15px;
}

.row:after,
.row-flex:after {
  content: "";
  display: table;
  clear: both;
}

.col-sm-6 {
  padding: 0 15px;
  float: left;
  width: 50%;
}

.col-sm-8 {
  padding: 0 15px;
  float: left;
  width: 66.666%;
}

.col-sm-4 {
  padding: 0 15px;
  float: left;
  width: 33.333%;
}

.col-sm-offset3 {
  margin-left: 25%;
}

h1 {
  font-size: 44px;
  line-height: 50px;
  margin: 0 -55px 32px 0;
  font-weight: 700;
}

h2 {
  text-align: center;
  font-size: 48px;
  line-height: 48px;
  margin: 0 0 32px;
  font-weight: 700;
}

h3 {
  text-align: center;
  font-size: 32px;
  line-height: 32px;
  margin: 0 0 32px;
  font-weight: 700;
}

.over-overlay {
  position: fixed;
  top: 0;
  overflow: auto;
  width: 100%;
  z-index: 3;
  min-height: 100vh;
  display: none;
}

.overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(24, 38, 43, 0.9);
  z-index: 3;
  display: none;
}

.form-popup {
  display: none;
  max-width: 630px;
  margin: 0 auto;
  position: absolute;
  top: 10vh;
  left: 0;
  right: 0;
  z-index: 4;
}

.image-popup {
  display: none;
  margin: 0 auto;
  width: fit-content;
  position: absolute;
  top: 5vh;
  left: 0;
  right: 0;
  z-index: 4;
}

.image-popup img {
  max-width: 90vw;
  max-height: 90vh;
}

.close-icon {
  cursor: pointer;
  z-index: 4;
  position: absolute;
  top: 15px;
  right: 20px;
  height: 16px;
  width: 16px;
  color: #434d67;
}

.image-popup .close-icon {
  color: #fff;
  top: -6px;
  right: -30px; 
}

.close-icon::before {
  content: "×";
  font-size: 30px;
  line-height: 16px;
  font-family: "Times New Roman";
}

.buttonblock {
  margin-top: 24px;
}

.button {
  display: inline-block;
  width: 260px;
  max-width: 100%;
  height: 48px;
  line-height: 51px;
  font-size: 18px;
  background: #2589FF;
  border-radius: 8px;
  padding: 0 15px;
  border: 0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
  text-align: center;
}

.button:hover {
  background: #6DB0FF;
  color: #fff;
  text-decoration: none;
}

.mobileshow {
  display: none;
}

.hidden {
  display: none;
}

.container {
  width: 1220px;
  max-width: 100%;
  margin: 0 auto;
  padding: 82px 30px;
}

.container:after {
  content: "";
  display: table;
  clear: both;
}

.leftcontainer {
  width: 595px;
  float: right;
  padding: 40px 0 64px 30px;
}

.logocontainer {
  padding: 24px 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.roistat-logo {
  width: 108px;
  margin-right: 60px;
}

.yclients-logo {
  width: 151px;
  margin-bottom: -4px;
}

.pretitle,
.subtitle {
  display: block;
  font-size: 25px;
  line-height: 28px;
  margin: 0 0 32px;
}

.subtitle {
  margin: 0 0 48px;
}

.floor1__illustration {
  overflow: hidden;
  margin-top: -3%;
}

.floor1__illustration img {
  width: 893px;
  max-width: initial;
  padding-left: 66px;
}

.card {
  background: #fff;
  box-shadow: 0px 25px 50px rgba(0, 64, 111, 0.1);
  border-radius: 32px;
  padding: 72px 48px 80px;
}

.floor3 h2 {
  margin-bottom: 56px;
}

.floor3 .card {
  padding: 50px 42px;
  height: 210px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.floor3 .card .imgblock {
  text-align: left;
  width: 110px;
  flex-shrink: 0;
}

.graph img {
  width: 80px;
}

.cpl img {
  width: 70px;
}

.list img {
  width: 84px;
}

.lens img {
  width: 66px;
}

.card-top {
  margin-bottom: 32px;
}

.portrait .img {
  height: 640px;
  width: 130%;
  margin: -120px -15% -200px;
  position: relative;
  z-index: -1;
}

.portrait .anastasia {
  background: url(../img/anastasia.png) center center no-repeat;
  background-size: 640px;
}

.portrait .pavel {
  background: url(../img/pavel.png) center center no-repeat;
  background-size: 640px;
}

.floor4 .card {
  height: 305px;
  margin-bottom: 30px;
}

.floor4 .alexey-card {
  height: 338px;
  margin-bottom: 0;
}

.timer__description {
  text-align: center;
  display: block;
  margin-bottom: 8px;
}

.timer {
  text-align: center;
  margin: 0 -35px;
}

.timer__dots {
  padding: 0 16px;
}

.timer__val,
.timer__dots {
  color: #2589FF;
  font-size: 64px;
  line-height: 64px;
  font-weight: 700;
}

.timer__item {
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.timer__unit {
  position: absolute;
  bottom: -15px;
  left: -20px;
  display: block;
  width: calc(100% + 40px);
  text-align: center;
  color: #2589FF;
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
}

.fix-width {
  width: 70px;
  text-align: right;
}

.floor7 {
  padding-top: 0;
}

.callbackform__content {
  padding: 0 15px;
  margin: 0 auto;
  max-width: 100%;
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
}

.js-thanxmessage {
  display: none;
}

.callbackform__header {
  text-align: center;
}

.callbackform__header img {
  width: 50px;
  height: 50px;
  margin-left: 10px;
}

.callbackform__title {
  font-size: 48px;
  line-height: 50px;
  text-align: center;
  margin: 0 auto 32px;
  width: 650px;
  max-width: 100%;
}

.callbackform__title2 {
  font-size: 32px;
  line-height: 34px;
  text-align: center;
  margin: 0 0 16px;
}

.callbackform__message {
  border-radius: 16px;
  max-width: 630px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  background: #fff;
  box-shadow: 0px 25px 50px rgba(0, 64, 111, 0.1);
}

.callbackform__message p {
  font-size: 24px;
  line-height: 26px;
  color: #676767;
  max-width: 100%;
  margin: 0 auto 26px;
}

.callbackform__message p:last-child {
  margin: 0;
}

.callbackform__message .form-description {
  font-size: 20px;
  line-height: 24px;
  width: 450px;
  max-width: 100%;
}

.formblock {
  width: 354px;
  max-width: 100%;
  margin: 32px auto 0;
  text-align: left;
}

.formblock input[type="text"] {
  border: 1px solid rgba(27, 42, 48, 0.2);
  box-shadow: inset 0px 1px 1px rgba(27, 42, 48, 0.2);
  border-radius: 8px;
  height: 48px;
  font-size: 20px;
  line-height: 48px;
  padding: 0 16px;
  margin: 0 0 16px 0;
  width: 100%;
  outline: none;
}

.formblock input.error {
  border: 1px solid #ff0000;
}

.formblock input[type="text"]::-webkit-input-placeholder {
  color: #B3B3B3;
}

.formblock input[type="text"]::-moz-placeholder {
  color: #B3B3B3;
}

.formblock input[type="text"]:-moz-placeholder {
  color: #B3B3B3;
}

.formblock input[type="text"]:-ms-input-placeholder {
  color: #B3B3B3;
}

.formblock .button {
  width: 100%;
  text-transform: none;
}

.form-block__agreecheck {
    position: relative;
    margin-top: 24px;
    text-align-last: left;
}

.form-block__agreecheck .agreecheck {
    position: absolute;
    left: 0;
    margin: 0;
    top: 2px !important;
}

.form-block__agreecheck label {
    padding: 0 0 0 22px;
    font-size: 14px;
    line-height: 17px;
    display: block;
}

.form-block__agreecheck.error {
    margin: 14px -10px -10px;
    padding: 9px;
    border: 1px solid #ff0000;
    border-radius: 9px;
}

.form-block__agreecheck.error .agreecheck {
    left: 8px;
    margin: 0;
    top: 11px;
}

.formblock input[type="checkbox"] {
  display: inline-block;
  position: absolute;
  left: 0;
  margin: 0;
  top: 12px;
}

.formblock .input-site {
  margin-top: 16px !important;
}

.stap2 {
  display: none;
}

span.label {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 24px;
}

.checkbox-block {
  position: relative;
  padding: 0 0 0 22px;
  margin: -8px 0 16px 0;
}

.label-for-checkbox {
  display: inline-block;
  font-size: 18px;
  line-height: 22px;
}

.propustit {
  color: #9ca4b8;
  display: block;
  cursor: pointer;
  font-size: 18px;
  line-height: 48px;
  text-decoration: underline;
  text-align: left;
}

.propustit:hover {
  text-decoration: none;
}

.callbackform__link {
  color: #2589FF;
}

.callbackform__logo {
  position: absolute;
  top: 90%;
  width: 100%;
  text-align: center;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}


@media (max-width: 1023px) {
  body {
    font-size: 16px;
    line-height: 18px;
  }

  h1,
  h2,
  h3 {
    font-size: 24px;
    line-height: 28px;
    margin: 0 0 16px;
  }

  .container {
    padding: 32px 30px;
  }

  .leftcontainer {
    width: initial;
    float: initial;
    padding: 24px 30px;
  }

  .floor1__illustration {
    margin-top: 0;
  }

  .card {
    padding: 40px 65px;
  }

  .floor4 .card {
    height: 180px;
  }

  .floor4 .alexey-card {
    height: 209px;
  }

  .buttonblock {
    margin-top: 16px;
  }

  .logocontainer {
    padding: 40px 30px 5px;
  }

  .pretitle {
    font-size: 18px;
    line-height: 22px;
  }

  .subtitle {
    font-size: 16px;
    line-height: 20px;
    margin: 0 -5px 16px 0;
  }

  .floor1__illustration img {
    width: 420px;
    padding-left: 8px;
  }

  .floor3 .card {
    padding: 50px 30px;
    height: 160px;
  }

  .floor3 h2 {
    margin-bottom: 24px;
  }

  .swiper-container {
    overflow: initial;
    width: 200px;
    margin: 0;
  }

  .carousel__item {
    text-align: center;
  }

  .carousel__item .imgblock {
    height: 70px;
  }

  .carousel__item p {
    font-size: 14px;
    line-height: 18px;
  }

  .portrait .img {
    height: 480px;
    margin: -90px -15% -160px;
  }

  .portrait .anastasia,
  .portrait .pavel {
    background-size: 460px;
  }

  .timer {
    text-align: center;
    margin: 0 -30px;
  }

  .timer__dots {
    padding: 0 4px;
  }

  .timer__val,
  .timer__dots {
    font-size: 38px;
    line-height: 38px;
  }

  .timer__unit {
    position: absolute;
    bottom: -5px;
    font-size: 16px;
  }

  .fix-width {
    width: 60px;
  }

  .formblock input[type="checkbox"] {
    top: 4px;
  }
}

@media (max-width: 767px) {
  p {
    text-align: center;
  }

  .mobileshow {
    display: block;
  }

  .mobilehide {
    display: none;
  }

  .card {
    border-radius: 0;
    margin: 0 -30px;
    padding: 40px 30px;
  }

  .col-sm-6,
  .col-sm-8,
  .col-sm-4 {
    width: 100%;
  }

  .col-sm-offset3 {
    margin-left: 0;
  }


  .roistat-logo {
    width: 78px;
    margin-right: 37px;
  }

  .yclients-logo {
    width: 115px;
    margin-bottom: -2px;
  }

  .floor1 {
    margin: 0;
  }

  .floor1 .col-sm-6 {
    padding: 0;
  }

  .floor1__illustration img {
    width: 132%;
  }

  .floor3 {
    overflow-x: hidden;
    padding: 32px 15px;
  }

  .floor3 h2 {
    margin-bottom: 24px;
  }

  .floor3 .card {
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 15px;
    height: 120px;
  }

  .floor3 .card .imgblock {
    width: 80px;
  }

  .floor3 .card p {
    text-align: left;
    width: 100%;
  }

  .floor3 .list,
  .floor3 .lens {
    flex-direction: row-reverse;
  }

  .floor3 .list .imgblock,
  .floor3 .lens .imgblock {
    text-align: right;
  }

  .graph img {
    width: 64px;
  }

  .cpl img {
    width: 53px;
  }

  .list img {
    width: 56px;
  }

  .lens img {
    width: 46px;
  }

  .swiper-container {
    overflow: initial;
    width: 65%;
    margin: 0;
  }

  .carousel__item {
    text-align: center;
  }

  .carousel__item .imgblock {
    height: 70px;
  }

  .carousel__item p {
    font-size: 14px;
    line-height: 18px;
  }

  .floor4 .card {
    height: initial;
  }

  .portrait {
    text-align: center;
  }

  .portrait .img {
    height: 380px;
    margin: -70px -15% -130px;
  }

  .portrait .anastasia,
  .portrait .pavel {
    background-size: 380px;
  }

  .timer__description {
    margin: 32px 0 8px 0;
  }

  .floor6 .buttonblock {
    text-align: center;
  }

  .callbackform__content {
    top: 5%;
  }

  .callbackform__title {
    font-size: 32px;
    line-height: 40px;
  }

  .callbackform__message {
    border-radius: 0;
    max-width: initial;
    margin: 0 -15px;
  }

  .callbackform__message .form-description {
    font-size: 16px;
    line-height: 18px;
  }

  .callbackform__logo {
    bottom: 5%;
  }

  .callbackform__header img {
    width: 30px;
    height: 30px;
  }

  .form-block__agreecheck .agreecheck {
    top: 0;
  }

  .form-block__agreecheck.error .agreecheck {
    top: 8px;
  }

  .form-block__agreecheck {
    width: 100%;
  }

  .form-block__agreecheck label {
    padding: 0 0 0 19px;
    font-size: 11px;
    line-height: 13px;
  }

  .propustit {
    text-align: center;
    line-height: 24px;
    margin-top: 12px;
  }
}