
/* Default styles */
html {
    font-size: 10px;
}

/* Blocks */
/* section */
.section {
    padding: 6rem 0;
}

.section__suptitle {
    font-family: inherit;
    font-size: 1.8rem;
    color: #B8B8B8;
    line-height: 1;
    text-transform: uppercase;
}

.section__title {
    display: block;
    margin-bottom: 4.5rem;
    font-family: inherit;
    font-size: 4rem;
    font-weight: 700;
    color: #686868;
    line-height: 1.5;
}

/* lead block */
.lead-block {
    position: relative;
}

.lead-block__inner {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -1.5rem;
}

.lead-block__col {
    width: 50%;
    padding: 0 1.5rem;
    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;
}

.lead-block__title {
    margin-bottom: 2rem;
    font-family: inherit;
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: #000;
}

.lead-block__text {
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
}

p.lead-block__text-info {
    margin-top: 2rem;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    opacity: 0.5;
}

.lead-block__button {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.lead-block__info {
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: 2.6rem;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    opacity: .5;
}

.lead-block__col img {
    display: block;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.lead-block__img-bg {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    -webkit-transform: translate3D(28px, -4px, 0);
    -ms-transform: translate3D(28px, -4px, 0);
    transform: translate3D(28px, -4px, 0);
}

.lead-block__img-bg__cart {
    position: absolute;
    top: 60%;
    right: 28%;
    z-index: 3;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.lead-block__img-bg img {
    display: block;
    width: 100%;
    max-width: 700px;
}

.lead-block__img-bg__cart img {
    display: block;
    width: 100%;
    max-width: 280px;
}

.btn {
    display: inline-block;
    vertical-align: top;
    padding: .7em 2em;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    color: #fff;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 40em;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffc400), to(#ed6d0d));
    background: -o-linear-gradient(top, #ffc400, #ed6d0d);
    background: linear-gradient(180deg, #ffc400, #ed6d0d);
    -webkit-transition: background .2s linear;
    -o-transition: background .2s linear;
    transition: background .2s linear;
}

.btn:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-transition: opacity .1s linear;
    -o-transition: opacity .1s linear;
    transition: opacity .1s linear;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn:hover:before {
    opacity: .15;
}

.btn--block {
    display: block;
    width: 100%;
}

@media (max-width: 1010px) {
    .lead-block {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    .lead-block__col {
        width: 100%;
        -ms-flex-order: 2;
        -webkit-box-ordinal-group: 3;
        order: 2;
    }

    .lead-block__col:nth-child(2) {
        -ms-flex-order: 1;
        -webkit-box-ordinal-group: 2;
        order: 1;
    }

    .lead-block__text, .lead-block__title {
        text-align: center;
    }

    .lead-block__button {
        -ms-flex-pack: center;
        -webkit-box-pack: center;
        justify-content: center;
    }
}

@media (max-width: 990px) {
    .lead-block__img-bg {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        -webkit-transform: translate3D(85px, 33px, 0);
        -ms-transform: translate3D(85px, 33px, 0);
        transform: translate3D(85px, 33px, 0);
    }

    .lead-block__img-bg__cart {
        top: 40%;
        right: auto;
    }
}

@media (max-width: 675px) {
    .lead-block__title {
        font-size: 3.2rem;
    }

    .lead-block__img-bg {
        -webkit-transform: translate3D(110px, 107px, 0);
        -ms-transform: translate3D(110px, 107px, 0);
        transform: translate3D(110px, 107px, 0);
    }
}

@media (max-width: 545px) {
    .lead-block__button {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        display: block;
        text-align: center;
        margin-top: 2rem;
    }

    .lead-block__info {
        margin: 1.5rem auto 0;
        text-align: center;
    }

    .lead-block__img-bg {
        -webkit-transform: translate3D(80px, 100px, 0);
        -ms-transform: translate3D(80px, 100px, 0);
        transform: translate3D(80px, 100px, 0);
    }
}

@media (max-width: 470px) {
    .lead-block__img-bg__cart {
        top: 35%;
        right: auto;
    }

    .lead-block__img-bg__cart img {
        max-width: 200px;
    }
}

@media (max-width: 440px) {
    .lead-block__title {
        font-size: 2.4rem;
    }

    .lead-block__text {
        font-size: 1.4rem;
    }
}

@media (max-width: 410px) {
    .lead-block__img-bg {
        -webkit-transform: translate3D(56px, 71px, 0);
        -ms-transform: translate3D(56px, 71px, 0);
        transform: translate3D(56px, 71px, 0);
    }
}

@media (max-width: 370px) {
    .lead-block__img-bg__cart {
        top: 29%;
    }

    .lead-block__img-bg__cart img {
        max-width: 157px;
    }
}

.btn--blue {
    padding: 1em 2em;
    background-color: #00599d;
    background-image: linear-gradient(to top, #00599d 0%, #1389e4 100%);
}
/* Modal */
.lead {
    display: none;
    width: 100%;
    height: 100%;
    padding: 30px 15px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
}

.lead.show {
    display: block;
}

.modal__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100%;
}

.modal__content {
    width: 100%;
    max-width: 400px;
    padding: 50px 40px 60px;
    position: relative;
    background-color: #00599d;
    border-radius: 8px;
    background: linear-gradient(to bottom, rgba(255, 198, 0, 1) 0%, rgba(237, 108, 13, 1) 100%);
    opacity: 0;
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: opacity .2s ease-out, -webkit-transform .2s ease-out;
    transition: opacity .2s ease-out, -webkit-transform .2s ease-out;
    -o-transition: transform .2s ease-out, opacity .2s ease-out;
    transition: transform .2s ease-out, opacity .2s ease-out;
    transition: transform .2s ease-out, opacity .2s ease-out, -webkit-transform .2s ease-out;
}

.modal__content .form {
    background: rgba(237, 108, 13, 0);
    padding: 0;
    color: #000;
    text-align: left;
    border-radius: 0;
}

.modal__header {
    margin-bottom: 25px;
    text-align: center;
}

.modal__icon {
    margin-bottom: 10px;
}

.modal__title {
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 33px;
    color: #1389e4;
    font-weight: 700;
    line-height: 1.2;
}

@media screen and (max-width: 1920px) {
.modal__title {
    font-size: 26px;
}
}

.modal__text {
    font-size: 18px;
    color: #2C2C2C;
}

.modal__footer {
    padding-top: 0;
    text-align: center;
    color: #fff;
}

.modal__footer-title {
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.modal__contacts {
    font-size: 14px;
    color: #2C2C2C;
    font-style: normal;
}

.modal__contacts p {
    margin-bottom: 3px;
}

.modal__contacts a {
    color: inherit;
    text-decoration: none;
}

.modal__contacts a:hover {
    text-decoration: underline;
}

.modal__close {
    width: 20px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: -30px;
    z-index: 1;
    -webkit-transition: -webkit-transform .2s linear;
    transition: -webkit-transform .2s linear;
    -o-transition: transform .2s linear;
    transition: transform .2s linear;
    transition: transform .2s linear, -webkit-transform .2s linear;
}

.modal__close:focus {
    outline: none;
}

.modal__close:hover {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.modal__close img {
    display: block;
}

/* Form */
.form__group {
    margin-bottom: 25px;
}

.form__group .input {
    background: none !important;
}

.input {
    display: block;
    width: 100%;
    padding: 4px 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    font-family: 'Myriad Pro';
    font-size: 17px;
    color: #fff;
    -webkit-transition: border-color .1s linear;
    -o-transition: border-color .1s linear;
    transition: border-color .1s linear;
}

.input::-webkit-input-placeholder {
    color: #757575;
}

.input::-moz-placeholder {
    color: #757575;
}

.input:-ms-input-placeholder {
    color: #757575;
}

.input::-ms-input-placeholder {
    color: #757575;
}

.input::placeholder {
    color: #757575;
}

.input:focus {
    outline: none;
    border-bottom-color: #fff;
}

.input--dark {
    color: #fff;
    border-bottom-color: #E8E8E8;
}

.input--dark::-webkit-input-placeholder {
    color: #2C2C2C;
}

.input--dark::-moz-placeholder {
    color: #2C2C2C;
}

.input--dark:-ms-input-placeholder {
    color: #2C2C2C;
}

.input--dark::-ms-input-placeholder {
    color: #2C2C2C;
}

.input--dark::placeholder {
    color: #2C2C2C;
}

.input--dark:focus {
    border-bottom-color: #fff;
}

.input--user {
    background: left 15px top 5px no-repeat;
}

.input--phone {
    background: left 15px top 5px no-repeat;
}

.input--email {
    background: left 15px top 6px no-repeat;
}

.input--dark.input--user {
    background: url("../../img/user-black-icon.svg") left 15px top 5px no-repeat;
}

.input--dark.input--phone {
    background: url("../../img/phone-black-icon.svg") left 15px top 5px no-repeat;
}

@media (max-width: 575px) {
    .modal__close {
        right: 0;
        top: -30px;
    }
}
