/* specification */

html {
    scroll-behavior: smooth;
    }

body {
    position: relative;
    z-index: -3;
    font-family: "PTSans", sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #151515;
}

input[type="e-mail"] {
    border: 1px solid red;
}

h1 {
    margin-top: 75px;
    font-size: 60px;
    line-height: 70px;
    text-align: center;
    color: #fff;
}

h2 {
    text-align: center;
    font-size: 46px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

.btn {
    position: relative;
    padding: 11px 36px;
    font-size: 16px;
    font-weight: bold;
    background-color: #ffd449;
    border-radius: 5px;
    box-shadow: 0 3px 0 #bc8b07;
    border: none;
    transition: .3s ease;
    z-index: 10;
}

.btn:hover {
    cursor: pointer;
    background-color: #b29433;
}

.btn:active {
    box-shadow: inset 0 0 5px #4b3702;
}

button, button:hover, button:focus, button:active,
a, a:hover, a:focus, a:active,
input, input:hover, input:focus, input:active {
    outline: none;
}

ul {
    list-style: none;
}

.container {
    width: 1000px;
    margin: 0 auto;
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.header::after,
.advantages::after,
.guarantees::after,
.payment::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

@font-face {
    font-family: "PTSans";
    src: url(../fonts/PTSans.ttc) format('ttc'),
         url(../fonts/PTSans-Regular.woff) format('woff'),   
         url(../fonts/PTSans-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "PTSans";
    src: url(../fonts/PTSans-Bold.woff) format('woff'),   
         url(../fonts/PTSans-Bold.woff2) format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "PTSans";
    src: url(../fonts/PTSans-Italic.woff) format('woff'),   
         url(../fonts/PTSans-Italic.woff2) format('woff2');
    font-weight: normal;
    font-style: italic;
}

.erconts {
    margin: 10px auto;
    text-align: center;
    opacity: 0;
    transition: .3s ease;
}

.payment__form .erconts {
    position: absolute;
    bottom: -10px;
    right: 80px;
}

.erconts-show {
    opacity: 1;
}

.popap__erconts {
    max-width: 350px;
    width: 100%;
    margin: 10px auto 0;
    color: #fff;
}
/*------------ header -----------------*/

.header {
    position: relative;
    z-index: -2;
    padding-top: 18px;
    padding-bottom: 41px;
    background-image: url(../img/header-bg.jpg);
    background-position: center center;
    background-size: cover;
}

.header__thanks-main {
    padding-bottom: 125px;
}

.top__contacts {
    justify-content: space-between;
    color: #fff;
    padding-bottom: 15px;
    border-bottom: 1px solid #656464;
}

.top__contacts-logo {
    align-items: center;
}

.top__contacts-logo img {
    margin-right: 20px;
    width: 65px;
    height: 73px;
}

.top__contacts-logo p {
    width: 60%;
}

.top__contacts-phone {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.top__contacts-phone p {
    margin-bottom: 8px;
}


.top__contacts-phone a {
    color: #fff;
    
}

.footer__phone-number a,
.top__contacts-phone a:hover {
    text-decoration: none;
}

.footer__phone-number a {
    color: #151515;
}

.header__title-descr {
    margin: 0 auto;
    width: 50%;
    text-align: center;
    font-size: 36px;
    font-style: italic;
    line-height: 40px;
    color: #fff;
}

.header__proviso {
    justify-content: space-around;
    margin-top: 35px; 
}

.header__proviso p {
    padding: 25px 85px;
    border: 1px dashed #413f41;
    font-size: 22px;
    text-align: center;
    color: #fff;
}

.header__proviso span {
    font-weight: bold;
}

.header__arrow {
    margin: 50px auto 0;
    text-align: center;
    font-size: 60px;
}

.header__arrow a {
    color: #fff;
}
/*-----------------thanks------------------------*/

.header__thanks {
    margin-top: 100px;
}

.header__thanks-descr {
    font-size: 36px;
    line-height: 46px;
    color: #fff;
    text-align: center;
}

.header__thanks-wrapper {
    margin-top: 100px;
    text-align: center;
}

.header__thanks-title {
    margin: 0 auto;
    width: 55%;
    font-size: 46px;
    line-height: 54px;
}

.header__thanks-offer {
    margin-top: 45px;
    margin-bottom: 30px;
    padding: 35px 80px 50px;
    background-color: rgba(91, 91, 91, 0.5);
    text-align: center;
}

.header__thanks-offer h2 {
    margin: 0 auto;
    width: 75%;
    font-size: 36px;
    line-height: 50px;
    color: #fff;
}


.header__thanks-offer input {
    margin-top: 35px;
    padding: 16px 20px;
    width: 50%;
    border-radius: 5px;
    border: none;
}

.header__thanks-offer .btn {
    margin-left: 20px;
    padding: 15px 0 13px;
    width: 25%;
    font-size: 22px;
}

.header__thanks-wrapper span {
    font-size: 16px;
    color: #fff;
}

/*-----------------request-----------------------*/

.request .container{
    padding-top: 138px;
    padding-bottom: 158px;
    background-image: url(../img/request-bg.png);
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: right bottom;
}

.request h2 {
    text-align: left;
}

.request p {
    margin-top: 35px;
    width: 50%;
    font-size: 24px;
    line-height: 34px;
}

/*-----------------whom----------------------*/

.whom {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.whom h2 {
    width: 50%;
    margin: 0 auto;
    line-height: 60px;
}

.slider {
    margin-top: 50px;
    justify-content: space-around;
}

.slider__item {
    display: inline-block;
    text-align: center;
    width: 225px;
}

.slider__item p {
    margin-top: 20px;
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
}

.slick-slider img {
    margin: 0 auto;
}


.slick-prev, .slick-next {
    width: 40px;
    height: 100px;
}

.slick-prev::before {
    content: url(../img/slider-prev.png);
}
.slick-next::before {
    content: url(../img/slider-next.png);
}
/* -------------section__form-blue-----------------------------*/

.section__form-blue {
    position: relative;
    z-index: -2;
    padding-top: 68px;
    padding-bottom: 66px;
    background-image: url(../img/section__form-blue.jpg);
    background-size: cover;
    color: #fff;
}

.form__overlay {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3484ba;
    opacity: 0.85;
}

.section__form-blue p {
    margin: 20px auto 0 auto;
    width: 60%;
    line-height: 30px;
    text-align: center;
}

.form__blue {
    margin-top: 30px;
    justify-content: space-between;
}

.form__blue input {
    padding: 15px;
    width: 32%;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    box-shadow: 0 0 2px black;
}

.form__blue-btn {
    padding: 15px 0;
    width: 32%;
}


.check:invalid:not(:placeholder-shown) {
    border: 2px solid red;
    
}
/*------------------earn-----------------------*/

.earn {
    padding: 60px 0;
}

.clients__list {
    margin-top: 50px;
}

.clients__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 50px 0 40px 40px;
    width: 100%;
    background-color: #f5f5f5;
}

.earn__img-wrapper {
    position: relative;
}

.earn__item-star {
    position: absolute;
    top: 0;
    left: 0;
}

.clients__list {
    padding: 0;
}

.client__item-text {
    margin-left: 35px;
}

.clients__item-title {
    margin-bottom: 25px;
}

.client__item-text p {
    font-size: 18px;
    line-height: 30px;
}

.clients__item-cost {
    font-weight: bold;
    color: #3498db;
}

/*---------------want-some-----------------------------*/

.section__want-some {
    background-image: url(../img/want__some-bg.jpg);
}

/*--------------from__request-------------------------*/

.from__request {
    padding: 60px 0;
    background-image: url(../img/from__request-bg.jpg);
    background-size: cover;
}

.from__request-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.from__request-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.arrow__right {
    margin-top: 27px;
    margin-left: 10px;
    width: 32px;
}

.from__request-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 190px;
}

.from__request-item:first-child .from__request-action {
    width: 205px;
}

.from__request-item:nth-child(2) .from__request-action {
    width: 185px;
}

.from__request-action p {
    margin-top: 25px;
    text-align: center;
    font-weight: bold;
}

/*-----------------------receive---------------------*/

.receive {
    padding: 57px 0;
}

.receive .arrow__right {
    margin-top: 0;
    margin-bottom: 40px;
}

.receive__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
}

.receive__item {
    display: flex;
    align-items: center;
    width: 25%;
}

.receive__item:last-child {
    flex-direction: column;
    align-items: center;
}

.receive__item-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
}

.receive__item h4 {
    margin-bottom: 25px;
}

.receive__item p {
    margin-top: 25px;
    text-align: center;
}

.receive__btn {
    display: block;
    margin: 50px auto 0;
    padding: 15px 75px;
}

/*-----------------advantages------------------*/

.advantages {
    position: relative;
    z-index: -1;
    padding: 55px 0;
    background-image: url(../img/advantages__bg.jpg);
    background-size: cover;
    background-position-x: center;
}

.advantages h2 {
    color: #fff;
    line-height: 60px;
}

.advantages__table {
    margin-top: 55px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px 2px;
}

.advantages__table-title {
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    background-color: #3498db;
}

.advantages__table tr:nth-child(2n-1) {
    background-color: rgba(49, 49, 49, 0.5);
}

.advantages__table tr:nth-child(2n) {
    background-color: rgba(74, 74, 74, 0.5);
}

.advantages__table td:first-child {
    width: 40%;
    font-size: 18px;
    text-align: left;
}

.advantages__table td {
    width: 30%;
    padding: 20px;
    empty-cells: hide;
    font-size: 22px;
    color: #fff;
    text-align: center;
}

.advantages__table img {
    margin-right: 20px;
    width: 35px;
}

.advantages__table p {
    display: inline-block;
    margin-bottom: 0;
    width: 80%;
}

.advantages h3 {
    margin-top: 55px;
    font-size: 36px;
    color: #fff;
}

.advantages__table-result td {
    font-size: 18px;
    font-weight: bold;
}

.advantages__table-result td:first-child {
    font-weight: normal;
}

.advantages__table-result td:last-child {
    color: #ffce39;
}

.advantages__table-img {
    vertical-align: top;
    margin-top: 8px;
}

.advantages__table-result td:nth-child(2) p ,
.advantages__table-result td:nth-child(3) p {
    width: 100%;
}

/*----------------about------------------------------*/

.about {
    padding: 55px 0;
}

.section__title-descr {
    margin-top: 25px;
    text-align: center;
    font-size: 30px;
}

.about__wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 55px;
    width: 100%;
}

.about__item {
    width: 32%;
    text-align: center;
}

.img__wrapper {
    margin: 0 auto 30px;
    border: 5px solid #f0f0f0;
    border-radius: 50%;
    width: 150px;
    line-height: 150px;
    height: 150px;
    text-align: center;
}

.about__item:last-child {
    width: 30%;
}

.about__item:last-child .img__wrapper {
    line-height: 130px;
}

.img__wrapper img {
    width: 68px;
    height: 68px;
}
/*---------------------guarantees-------------*/

.guarantees {
    position: relative;
    padding: 55px 0;
    background-image: url(../img/guarantees__bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    z-index: -1;
    color: #fff;
}

.guarantees__wrapper {
    margin-top: 55px;
}

.guarantees__item {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    width: 50%;
    font-weight: bold;
}

.guarantees__item-img {
    margin-right: 20px;
    width: 65px;
    height: 65px;
    border: 3px solid #544945;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
}

.guarantees__item p {
    width: 80%;
}



/*-------------------reasons------------------*/

.reasons {
    padding: 55px 0;
}

.reasons__wrappper {
    display: flex;
    justify-content: space-between;
    margin-top: 55px;
}

.reasons__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 25%;
}

.reasons__item img {
    width: 51px;
    height: 51px;
}

.reasons__item:last-child img {
    margin-top: 8px;
    height: 43px;
}

.reasons__item p {
    margin-top: 15px;
}

.reasons__item:first-child p {
    width: 60%;
}

.reasons__item:nth-child(3) p {
    width: 70%;
}

/*-----------------payment-----------------------*/

.payment {
    position: relative;
    padding: 70px 0;
    color: #fff;
    background-image: url(../img/payment__bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.payment__form-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 57%;
    margin-top: 45px;
}

.payment__form {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.payment__form-field input,
.payment__form-field textarea {
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
}

.payment__form-btn {
    margin-left: 55px;
    margin-top: 45px;
    width: 30%;
}

/*------------------footer-----------------------*/

.footer {
    padding-bottom: 20px;
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
}

.footer__logo {
    display: flex;
    width: 40%;
}


.footer__logo img {
    width: 165px;
    height: 116px;
    margin-right: 50px;
}

.footer__logo p {
    font-size: 24px;
    line-height: 34px;
}

.footer__phone {
    width: 20%;
}

.footer__phone-number a {
    font-size: 23px;
    font-weight: bold;
}

.footer__phone-number {
    text-align: right;
}

.footer__phone-descr {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: normal;
    text-align: right;
}

.footer__phone-btn {
    width: 100%;
}

.footer__wrapper {
    margin-top: 30px;
}

.footer__copyright {
    width: 44%;
}

.footer__agency {
    width: 38%;
    text-align: right;
}

.footer__agency p {
    margin-bottom: 0;
}

.popap__form-wrapper {
    position: fixed;
    display: none;
    z-index: 15;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}


.popap__form-overlay {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(52, 132, 186);
    border-radius: 5px;
}

.popap__form {
    position: fixed;
    display: none;
    z-index: 20;
    width: 50%;
    top: 20%;
    left: 25%;
    text-align: center;
    padding: 30px;
    border-radius: 5px;
}

.popap__title {
    line-height: 45px;
    color: #fff;
}

.popap__form-show {
    display: block;
}

.e-mail {
    display: none;
}

.popap__form-show .e-mail {
    display: none;
}

.popap__form i {
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 12px;
    font-size: 25px;
}


.popap__form input {
    margin: 10px 0;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    max-width: 350px;
}

.popap__form button {
    width: 100%;
    max-width: 350px;
}



input.error,.incomplete {
    border-color: red !important;
}
.error-steasy,.incomplete {
    border: 1px solid red !important;
}