* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    color: #fff;
}

body {
    overflow-x: hidden;
    background-color: #0c182c;
}

ol, ul {
    list-style: none
}

a {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    color: #fff;
}

img {
    vertical-align: middle;
    color: transparent;
}

input[type='text'] {
    appearance: none;
    -webkit-appearance: none;
}

input[type='number'] {
    -moz-appearance:textfield;
}
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

button {
    -webkit-tap-highlight-color: transparent;
    background-color: transparent;
    cursor: pointer;
}

button:focus {
    outline: none;
}



/*==========Basic layout components==========*/

.logo {
    padding-top: 34px;
    text-align: center;
}

.logo img {
    width: 256px;
    height: 36px;
}

.section {
    margin: 200px 24px 0;
    min-height: 650px;
}

.section__header h2 {
    display: inline-block;
    padding: 0 16px;
    margin: 0 -16px 15px;
    font-size: 96px;
    font-weight: 900;
    background: linear-gradient(to left, #1580fd, #ff004d);
    -webkit-background-clip: text;
    -webkit-text-stroke-color: transparent;
    -webkit-text-stroke-width: 4px;
    color: #0c182c;
    user-select: none;
}

.section__header p {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.33;
}

.section__img {
    position: absolute;
    top: 0;
    height: 650px;
}

.section__list {
    padding-left: 35px;
}

.section__list li {
    position: relative;
    margin-top: 28px;
    font-size: 14px;
}

.section__list li:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -35px;
    width: 20px;
    height: 20px;
    border: 1px solid #ff004d;
    border-radius: 50%;
}

.section__list li:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -23px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff004d;
}

.contact-form {
    display: flex;
    max-width: 460px;
    margin: 50px auto;
    box-shadow: 0 5px 35px 0 rgba(77, 33, 155, 0.5);
    overflow: hidden;
    border-radius: 4px;
}

.contact-form input {
    width: 100%;
    background-color: #3f246f;
    font-size: 14px;
    padding: 14px 20px;
}

.contact-form input::placeholder {
    color: #fff;
}

.contact-form button {
    font-size: 14px;
    padding: 14px 37px;
    flex-shrink: 0;
    transition: all .2s linear;
    background: linear-gradient(to left, #1580fd, #ff004d);
}

.contact-form button:hover {
    background: linear-gradient(to left, #0273f6, #e60045)
}

.grid {
    position: relative;
    margin: 0 auto;
    max-width: 1440px;
}


/*==========Section marketing==========*/

.section-marketing {
    margin: 120px 0 0;
}

.section-marketing .section__header {
    text-align: center;
    margin: 0 16px;
}

.section-marketing .section__header h2 {
    margin-bottom: 30px;
}
.section-marketing .section__header p {
    line-height: .33;
}

.section-marketing-img {
    padding-top: 280px;
    text-align: center;
    background: transparent url(../img/header_bg.svg) no-repeat 50% 0;
    background-size: 1920px 764px;
}

.section-marketing-img img {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}

.section__cont {
    position: relative;
}


/*==========Section data==========*/

.section-data .section__img {
    right: 0;
}

.section-data .section__cont {
    max-width: 936px;
}


/*==========Section automation==========*/

.section-automation .section__img {
    left: 0;
}

.section-automation .section__cont {
    margin-left: auto;
    max-width: 812px;
}


/*==========Section ppc==========*/

.section-ppc .section__img {
    right: 0;
}

.section-ppc .section__cont {
    max-width: 922px;
}


/*==========Section reporting==========*/

.section-reporting .section__img {
    left: 0;
}

.section-reporting .section__cont {
    margin-left: auto;
    max-width: 800px;
}


/*==========Section reason==========*/

.section-reason .section__header {
    text-align: center;
    margin-bottom: 130px;
}

.section-reason__items {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1200px;
}

.section-reason__item {
    margin: 0 35px 70px;
    opacity: .15;
}

.section-reason__item img {
    width: 100%;
}


/*==========Section contact==========*/

.section-contacts {
    margin: 140px 0 0 ;
    padding-bottom: 30px;
    background: transparent url(../img/footer_bg.svg) no-repeat center bottom;
    background-size: 1920px 649px;
}

.section-contacts .section__header {
    text-align: center;
}

.section-contacts .section__header {
    margin: 0 16px;
}

.section-contacts .logo {
    padding-top: 0;
}

.section-contacts footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 570px auto 0;
    box-sizing: content-box;
    padding: 0 16px;
}

.section-contacts footer a {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}


/*==========Media queries==========*/

@media only screen and (max-width: 1280px) {
    .section {
        margin: 150px 16px 0;
    }
    .section__header h2 {
        font-size: 70px;
    }
    .section__header p {
        font-size: 30px;
    }
    .section-marketing {
        margin: 80px 0 0;
    }
    .section-marketing .section__header h2 {
        margin-bottom: 16px;
    }
    .section-marketing .section__header p {
        line-height: 1;
    }
    .contact-form {
        margin-bottom: 0;
    }
    .section-marketing-img {
        padding-top: 100px;
        background-position: 50% 30%;
    }
    .section-marketing-img img {
        padding: 0 16px;
    }
    .section-contacts {
        margin: 80px 0 0;
    }
    .section__img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        display: block;
        margin: 0 auto 24px;
    }
    .section-automation .section__cont,
    .section-reporting .section__cont,
    .section-ppc .section__cont {
        margin-left: 0;
        max-width: 100%;
    }
    .section-contacts footer {
        margin-top: 270px;
    }
    .section-contacts {
        background-position: center top;
    }
}


@media only screen and (max-width: 560px) {
    .logo img {
        width: 180px;
        height: 26px;
    }
    .section {
        min-height: auto;
        margin-top: 100px;
    }
    .section__header h2 {
        font-size: 34px;
        letter-spacing: 4px;
    }
    .section__header p {
        font-size: 20px;
        font-weight: 800;
    }
    .section__img {
        width: 100%;
        height: auto;
    }
    .section-reason .section__header {
        margin-bottom: 60px;
    }
    .section-reason__item {
        margin-bottom: 50px;
    }
    .contact-form {
        flex-wrap: wrap;
        box-shadow: none;
        border-radius: 0;
        justify-content: center;
        overflow: unset;
        padding: 0 16px;
    }
    .contact-form input {
        margin-bottom: 18px;
        border-radius: 4px;
        box-shadow: 0 4px 15px 0 rgba(77, 33, 155, 0.5);
    }
    .contact-form button {
        border-radius: 4px;
    }
    .section-reason__items {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
}