/*Сброс стилей до нормального состояния*/
/* Контейнер */
.horizontalForm {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc( -20px/2 );
    margin-right: calc( -20px/2 );
    align-items: flex-end;
    row-gap: 15px;
    margin-bottom: 40px;
}

/* Поля */
.horizontalField {
    width: 40%;
}

/* Добавленный стиль для .horizontalField1 */
.horizontalField1 {
    width: 100%;
        padding-right: calc(20px/2);
    padding-left: calc(20px/2);
}

.wpcf7-submit {
    width: 100%;
}

.horizontalField, .formSubmit .textarea {
    padding-right: calc(20px/2);
    padding-left: calc(20px/2);
}

.horizontalField input, .horizontalField label,
[data-name="acceptance"]
{
    width: 100%;
}

/* Подтверждение */
.wpcf7-list-item {
    margin-left: 10px;
}

/* Спиннер */
.wpcf7-spinner {
    display: none;
}

/* Ошибка валидации */
.wpcf7-not-valid-tip {
    position: absolute;
    top: -38px;
    right: 0;
}

input[type="text"].wpcf7-not-valid, input[type="email"].wpcf7-not-valid, input[type="tel"].wpcf7-not-valid {
    border-color: #dc3232;
}

@media (max-width: 800px) {
    .horizontalForm {
        flex-direction: column;
    }

    .horizontalField, .formSubmit {
        width: 100%;
    }

    .formSubmit {
        order: 1;
    }
}

*{padding: 0;margin: 0;border: 0;}
*,*:before,*:after{-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display: block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: inherit;}
/*--------------------*/

@font-face {
  font-family: GothamPro-Light;
  src: url(../fonts/GothamPro-Light.woff);
}
@font-face {
  font-family: GothamPro-Medium;
  src: url(../fonts/GothamPro-Medium.woff);
}
html {
  scroll-behavior: smooth;
}
input[type=button] {
  cursor: pointer;
}
.error-input {
  border: 1px solid red;
}
.input-box {
  position: relative;
}
/* .error {
  position: absolute;
} */
:root {
  --purple: #7E64E8;
  --blue: #1F2353;
  --white: #fff;
  --pink: #FE99A9;
  --green: #48E965;
}

body {
  background-color: var(--white);
  font-family: GothamPro-Light;
}
.light {
  
  font-family: GothamPro-Light;
}
.medium {
  
  font-family: GothamPro-Medium !important;
}
.purple {
  color: var(--purple);
}
.blue {
  color: var(--blue);
}
.white {
  color: var(--white);
}
.pink {
  color: var(--pink);
}





.main__item-link {
	    display: inline-block;
    margin-top: 30px;
}



.header{
}
.header::after {

  content: '';
  display: block;
  width: 100%;  
  height: 1px;
  background-color: var(--purple);
}
.container {
  max-width: 1190px;
  padding: 0 10px;
  margin: auto;
}
.header__row {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__item {
  display: flex;
  align-items: center;
}
.header__name {
	max-width:400px;
  font-family: GothamPro-Light;
font-size: 20px;
font-weight: 400;
line-height: 19px;
letter-spacing: 0em;
text-align: left;
}
.header__social {
  display: flex;
}
.header__social .viber, .header__social .whatsapp {
  margin-right: 30px;
}
.viber {
  background-color: #161c27;
  border:1px solid #161c27;
  padding: 10px 15px;
  color: var(--white);
  border-radius: 5px;
  transition: all ease-in-out .3s;
}
.whatsapp {
  background-color: var(--green);
  border:1px solid var(--green);
  padding: 10px 15px;
  color: var(--white);
  border-radius: 5px;
  transition: all ease-in-out .3s;
}
.telegram {
  background-color: #229ED9;
  border:1px solid #229ED9;
  padding: 10px 15px;
  color: var(--white);
  border-radius: 5px;
  transition: all ease-in-out .3s;
}
.imo {
  background-color: #009dff;
  border:1px solid #009dff;
  padding: 10px 15px;
  color: var(--white);
  border-radius: 5px;
  transition: all ease-in-out .3s;
}
.signal {
  background-color: #3273dc;
  border:1px solid #3273dc;
  padding: 10px 15px;
  color: var(--white);
  border-radius: 5px;
  transition: all ease-in-out .3s;
}
.icon-w *{
  fill: var(--white);
  width: 20px;
  height: 20px;
}
.icon-v * {
  fill: var(--white);
  width: 20px;
  height: 20px;
}
.icon-t * {
  fill: var(--white);
  width: 20px;
  height: 20px;
}
.icon-i * {
  fill: var(--white);
  width: 20px;
  height: 20px;
}
.icon-s * {
  fill: var(--white);
  width: 20px;
  height: 20px;
}

.viber:hover > .icon-v * {
  fill: var(--blue);
  transition: all ease-in-out .3s;
}
.telegram:hover > .icon-t * {
  fill: var(--blue);
  transition: all ease-in-out .3s;
}
.imo:hover > .icon-i * {
  fill: var(--blue);
  transition: all ease-in-out .3s;
}
.signal:hover > .icon-s * {
  fill: var(--blue);
  transition: all ease-in-out .3s;
}

.header__social-link {
  display: flex;
}

.header__social-link span {
  margin-left: 15px;
  font-family: GothamPro-Light;
  font-size: 20px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;

}
.header__phone span, .footer__phone span {
  font-family: GothamPro-Medium;
font-size: 22px;
font-weight: 400;
line-height: 29px;
letter-spacing: 0em;
text-align: left;
color: var(--blue);
}


.main {
  margin-top: 50px;
}
.container {
}
.main__items {
  display: flex;
  align-items: center;
}
.main__item {
}
.main__item:nth-child(1) {
  
  flex: 1 1 50%;
	margin-right:65px;
}
.main__item:nth-child(2) {

}
.main__item-title {
}
.title {
  font-family: GothamPro-Light;
  font-size: 32px;
  font-weight: 400;
  line-height: 44px;
  letter-spacing: 0em;
  text-align: left;

}
.medium {
}
.main__item-description {
  margin-bottom: 20px;
  margin-top: 80px;
font-size: 20px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: left;
max-width: 700px;
display: block;
}
.main__item-link {
}
.main__item-img {
}


.info {
margin-top: 150px;
}
.container {
}
.info__items {
  position: relative;
border-radius: 20px;
margin-left: 120px;
  padding: 18px 54px;
  background-color: #F4F8FB;
  box-shadow: 0px 4px 4px 0px #1F235340;

  display: flex;
  justify-content: space-around;
}
.info__items::before {
  position: absolute;
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('../img/main-second.png');
  background-repeat: no-repeat;
  background-size: contain;
  left: -98px;
  top: 134px;
}
.info__item {
}
.info__item-title {
  font-family: GothamPro-Medium;
font-size: 40px;
font-weight: 400;
line-height: 51px;
letter-spacing: 0em;
text-align: right;

}
.info__item-subtitle {
  display: block;
  padding-top: 30px;
font-size: 30px;
font-weight: 400;
line-height: 38px;
letter-spacing: 0em;
text-align: center;

}

.why {
  margin-top: 100px;
}
.container {
}
.why__title {
  margin-bottom: 80px;
}
.title {
}
.medium {
}
.why__items {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.why__item {
  background-color: #F4F8FB;
  padding: 63px 45px;
  border-radius: 20px;
  max-width: 377px;
  transition: all ease-in-out .3s;
  cursor: pointer;
}
.why__item:hover  {
  color: var(--white);
  background-color: var(--pink);
  transition: all ease-in-out .3s;
}


.why__item:hover > .why__item-title {
  color: var(--white);
  transition: all ease-in-out .3s;
}
.why__item-title {

  transition: all ease-in-out .3s;
  font-size: 25px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0em;
  margin-bottom: 30px;

  text-align: center;


}
.why__item-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
}


.advantages {
  margin-top: 100px;
}
.container {
}
.advantages__title {
  margin-bottom: 80px;
}
.advantages__items {
  display: flex;
  flex-direction: column;
}
.advantages__item {
  margin-top: 30px;
  display: flex;
  align-items: center;
  padding-bottom: 30px;
}
.advantages__item:not(:last-child) {
  
  border-bottom: 1px solid var(--purple);
}
.advantages__item:after {
}
.advantages__item-img {
  width: 195px;
  height: 197px;
}
.advantages__item-info {
  margin-left: 66px;
}
.advantages__item-title {
font-size: 30px;
font-weight: 400;
line-height: 38px;
letter-spacing: 0em;
text-align: left;

}
.purple {
}
.advantages__item-description {
  margin-right: 20px;
  margin-top: 30px;
  display: block;
font-size: 20px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: left;

}


.callback {
  background-color: #F4F8FB;
  margin-top: 100px;
  padding: 50px 0;
}
.container {
}
.callback__items {
  display: flex;
  justify-content: space-between;
}
.callback__item {
  flex: 1 1 50%;
}
.callback__item:first-child {
  margin-right: 50px;
}
.callback__item-title {
}
.title {
}
.medium {
}
.callback__item-img {
  max-width: 421px;
  margin-top: 90px;
}

.input-box {
}

input, textarea {
  resize: none;
  width: auto;
  padding: 18px 7px;
  border: 1px solid var(--blue);
  margin-bottom: 20px;
font-size: 18px;
font-weight: 400;
line-height: 4px;
letter-spacing: 0em;
text-align: left;
border-radius: 8px;
transition: all ease-in-out .3s;
}
input:focus, textarea:focus {
  border: 1px solid var(--purple);
  transition: all ease-in-out .3s;
}
.message-box {
}
.button {
  margin-top: 30px;
  margin-bottom: 60px;
  text-align: center;
}
.btn-purple {
}
.callback__item-info {
  display: flex;
  align-items: start;
	margin-top:-50px;
}
.callback__info-img {
}
.callback__info-description {
margin-left: 15px;
font-size: 20px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: left;
 color: #000; 
font-weight: 600;
font-size: 18px; 
}


.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  text-align: center;
  padding: 0!important;
  background-color: #F4F8FB;
}
.container {
}
.footer__items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
}
.footer__item {
  text-align: center;
}
.footer__item p {
  margin-bottom: 20px;
font-size: 20px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: left;

}
.footer__item .header__social-link {
  display: inline-flex;
  margin-right: 30px;
}
.footer__social-link {
  margin-right: 15px!important;
}
.whatsapp {
}
.icon-w {
}
.viber {
}
.footer__phone {
  margin-bottom: 10px;
  margin-top: 10px;
}
.footer__email {
  margin-top: 50px;
font-size: 20px;
font-weight: 400;
line-height: 19px;
letter-spacing: 0em;
text-align: left;

}
.footer-text-flow {
  margin-top: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}




.advantages__item-img-m {
  display: none;
}


.btn-purple:hover { 
  box-shadow: 0px 10px 10px 0px #1F235340;
  transition: all ease-in-out .3s;
}
.btn-purple {
  font-family: GothamPro-Medium;
  transition: all ease-in-out .3s;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0em;
  border-radius: 8px;
  width: auto;
  padding: 13px 13px;
  border: 1px solid var(--purple);
  background-color: var(--purple);
  color: var(--white);
      margin-left: 8px;
}
.callback__item-img-m {
  display: none;
}


@media (max-width:850px) {
  .container {
    padding: 0 15px;
  }
  .header__social-link span{
    display: none ; 
  }
  .callback__item-info {
      margin-top: 0;
  }
  
  .header__item:nth-child(2) {
    flex-direction: column;
    
  }
  .header__social {
    order: 1;
    
  }
  .header__social-link {
    padding: 10px 22px;

  }
  
  .header__social .viber, .header__social .whatsapp {
    margin-right: 0;
  }
  .header__social .whatsapp {
    /*order: 2;*/
	  margin-right: 15px;
  }
  .header__phone  a{
    align-items: center;
    display: flex;
  }
  .header__phone span {
    font-size: 14px;
  }
  .header__phone img {
    width: 14px;
  }
  .viber {
    margin-right: 10px !important;
    display: block;
  }
  .main__items {
    flex-direction: column;
  }
  .title {
font-size: 20px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: left;

  }
  .main__item-description {
    font-size: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .main__item-link {
    display: none;
  }
	.main__item:nth-child(1) {
		margin-right:65px;
	}
  .main__item-link-m a {
    display: inline;
  }
  .main__item-link-m  {
    margin-top: 70px;
    display: block !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .main__item-img {
    width: 90%;
    margin: auto;
    display: block;
  }
  .info__items {
    margin-left: 0;
  }
  .info__item-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: left;
    
  }
  .info__item-subtitle {
    padding-top: 10px;
font-size: 15px;
font-weight: 400;
line-height: 19px;
letter-spacing: 0em;
text-align: left;


  }
  .info__items {
    padding-right: 5px;
    padding-left: 5px;
  }
  .info__items::before {
    transform: rotate(347deg);
    left: -15px;
    top: 52px;
  }
  .header__item .header__social .header__social-link {
    display: flex !important;
  }
  .why {
    margin-top: 100px;
  }
  .why__title {
    max-width: 270px;
    margin-bottom: 40px;
font-size: 20px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: left;

  }
  .why__items {
    flex-direction: column;
  }
  .why__item {
    width: 100%;
    max-width: 100%;
	  margin-bottom:20px;
  }
  .advantages__item {
    flex-direction: column;
    border: 1px solid var(--purple);
    border-radius: 20px;
    padding: 15px;
  }
  .advantages__item-title {
    order: 0;
font-size: 18px;
font-weight: 400;
line-height: 23px;
letter-spacing: 0em;
text-align: left;

  }
  .advantages__item-description span {
    
    font-family: GothamPro-Light !important;
    font-size: 15px !important;
  }
  .advantages__item-description{
    font-size: 15px !important;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
  }
  .advantages__item-info {
    margin-left: 0;
  }
  .advantages__item-img {
    display: none !important;
  }
  .advantages__item-img-m {
    margin: auto;
    display: block !important;
    margin-top: 28px;margin-bottom: 28px;
  }
  .callback__item-title  {
    max-width: 320px;
    margin-bottom: 20px;
  }
  .callback__items {
    flex-direction: column;
  }
  .callback__item-img-m {
    display: block !important;
    width: 50%;
    margin: auto;
    max-width: 100%;
  }
  .callback__item-img {
    display: none;
  }
  .callback__info-description {
	  font-size:14px;
	    font-weight: 600;
line-height: 18px;
letter-spacing: 0em;
text-align: left;
margin-left: 10px;
	

  }
  .callback__info-img {
    width: 15px;height: 10px;
  }
  .footer {
    display: block!important;
  }
  .footer__items {
  }
  .footer__item {
    flex-direction: column;
    display: flex;
  }
  .footer__icons-wrapper {
    display: flex;
    justify-content: center;
  }
  .footer__social-link {
    display: block!important;
    width: 33%;
  }
  .footer__email {
    display: none;
  }
  .footer__email-m {
    display: flex !important; 
    align-items: center;
    margin-top: 0px;
  }
  .footer__email-m img {
    margin-right: 10px;
  } 
  .footer__item {
    flex: 0 1 50%;
    width: 50%;
  }
  .footer__item:nth-child(1) {
  }
  .footer__item:nth-child(1) * {
    margin-bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: 13px;
  text-align: center;
  }
  .footer__item:nth-child(2) {
    order: 2; display: none;
  }
  .footer__item:nth-child(3) {
    order: 1;
  }
  .footer__phone  img {
    display: none;
  }
  .footer__phone {
    
    flex-direction: column;
    display: flex;
  }
  .footer__phone span {
font-size: 18px;
font-weight: 400;
line-height: 17px;
letter-spacing: 0em;
text-align: left;

  }
  .header__social-link {
    display: none;
  }
  .header__social-link-m {
    margin-top: 20px;
    width: 70px;
    margin-right: 0 !important;
    display: inline !important;
  }
  
  .footer__phone .header__social-link-m {
    display: block !important;
  }
}
.main__item-link-m {
  display: none;
}
.footer__email-m {
  display: none;
}
.header__social-link-m {
  display: none !important;
}
@media (max-width: 480px) {
  .footer__item {
    flex: 1;
  }
  .footer__icons-wrapper {
    flex-direction: column;
  }
  .footer__social-link {
    width: 100%
  }
}