/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/*common*/
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font: 400 16px / 22px 'Open Sans', sans-serif;
    color: #292830;
    background-color: #F3F3F7;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
p {
    margin: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    width: 100%;
    max-width: 1440px;
    padding: 0 86px;
    margin: 0 auto;
    position: relative;
}
h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 65px;
    margin: 0 0 24px 0;
}
h2 {
    font-weight: 700;
    font-size: 38px;
    line-height: 52px;
    margin: 0 0 32px 0;
}
h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    color: #4757A8;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}
.content {
    max-width: 620px;
}
.content p:not(:last-child) {
    margin-bottom: 1em;
}
section {
    margin-bottom: 160px;
}

/*HEADER*/
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}
.header_list li {
    display: inline-block;
    margin-left: 41px;
    padding: 4px 16px;
    font-weight: 600;
    transition-duration: 0.3s;
}
.header_list li:hover {
    color: #5873FD;
}
.header_list li:active {
    color: #1900B1;
}

/*INTRO*/
.intro {
    display: flex;
    align-items: center;
    background: url(../img/intro-bg.svg) no-repeat center right / contain;
    min-height: 828px;
    position: relative;
}
.intro_img {
    max-width: 620px;
    width: 100%;
}
.intro_text {
    font-size: 20px;
    line-height: 150%;
}
.intro_button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #999CE3;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 80px;
    cursor: pointer;
    transition-duration: 0.3s;
}
.intro_button:hover {
    background-color: #8EA1FF;
}
.intro_button:active {
    background-color: #1A3FFF;
}
.intro_button > img {
    margin-top: 4px;
}

/*PROS*/
.pros_list {
    display: flex;
    max-width: 1268px;
    margin: 0 auto;
}
.pros_item {
    flex: 1;
    padding: 48px 57px 34px 57px;
}
.pros_item.pros_skills {
    background-color: #E1E2F7;
}
.pros_item.pros_quality {
    background-color: #EAEEC2;
}
.pros_item.pros_guarantees {
    background-color: #C2EEE1;
}
.pros_title {
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    margin-bottom: 16px;
}
.pros_img {
    display: block;
    width: 225px;
    height: 225px;
    margin: 0 auto 48px auto;
}

/*ABOUT*/
.about {
    display: flex;
    align-items: center;
}
.about_img {
    max-width: 620px;
    width: 100%;
    margin-right: 28px;
}

/*SERVICES*/
.services_bg {
    padding-top: 100px;
    background: url(../img/web-site-bg.svg) no-repeat top right / contain;
}
.services_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.services_item .content {
    max-width: 539px;
}
.services_item:not(:last-child) {
    margin-bottom: 120px;
}
.services_item > *:first-child {
    margin-right: 28px;
}
.services_img {
    max-width: 50%;
}

/*CONTACT*/
.contact {
    background: url(../img/contact-bg.svg) no-repeat center / contain;
}
.contact h2 {
    text-align: center;
    margin-bottom: 56px;
}
.contact_form {
    max-width: 512px;
    margin: 0 auto;
}
.contact_field {
    display: flex;
    flex-direction: column;
    margin-bottom: 47px;
}
.contact_field > label {
    font-weight: 600;
    margin-bottom: 8px;
    align-self: flex-start;
}
.contact_field > input,
.contact_field > textarea {
    background: #FFFFFF;
    border-radius: 8px;
    border: none;
    padding: 20px 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #292830;
    transition-duration: 0.3s;
    outline: 2px solid #FFFFFF;
}
.contact_field > input::placeholder,
.contact_field > textarea::placeholder {
    color: #918F9D;
}
.contact_field > input:hover,
.contact_field > textarea:hover,
.contact_field > input:focus,
.contact_field > textarea:focus {
    background: #F1F1F9;
    outline: 2px solid #CDD3F2;
}
.contact_field > input {
    height: 62px;
}
.contact_field > textarea {
    resize: none;
}
.contact_button {
    display: block;
    background: #5873FD;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 376px;
    margin: 10px auto 0 auto;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #FFFFFF;
    text-align: center;
    transition-duration: 0.3s;
    cursor: pointer;
}
.contact_button:hover {
    background-color: #8EA1FF;
}
.contact_button:active {
    background-color: #1A3FFF;
}
.contact_button:disabled {
    background: #CDD0E1;
    pointer-events: none;
}

/*FOOTER*/
.footer {
    padding: 36px 0 20px 0;
}
.footer_logo {
    display: inline-block;
    margin-bottom: 24px;
}
.footer_content {
    max-width: 380px;
}
.footer_content > p {
    margin-bottom: 20px;
}
.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.footer_support > p {
    font-weight: 600;
    margin-bottom: 4px;
}
.footer_support > a {
    color: #5873FD;
}
.footer_copy {
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #575A6D;
}

/*MEDIA*/
@media all and (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    .intro {
        padding-top: 100px;
        flex-direction: column;
        background-position: top center;
    }
    .about {
        flex-direction: column;
    }
    .about_img {
        margin: 0 0 28px 0;
    }
    .pros_item {
        padding: 24px 28px 17px 28px;
    }
    .pros_img {
        width: 150px;
        height: 150px;
    }
    .services_item:nth-child(odd) {
        flex-direction: column;
    }
    .services_item:nth-child(even) {
        flex-direction: column-reverse;
    }
    .services_img {
        margin-bottom: 28px;
    }
    .services_item > *:first-child {
        margin-right: 0;
    }
}

@media all and (max-width: 920px) {
    .header, .pros_list {
        flex-direction: column;
    }
    .header {
        align-items: baseline;
    }
    .header_list {
        margin-top: 10px;
    }
    .header_list li {
        margin-left: 0;
    }
    .header_list li:first-child {
        padding-left: 0;
    }
    .services_bg {
        padding-top: 0;
        background: none;
    }
    .services_item {
        margin-bottom: 60px;
    }
}
@media all and (max-width: 425px) {
    h1 {
        font-size: 36px;
        line-height: 40px;
    }
    h2 {
        font-size: 30px;
        line-height: 32px;
    }
    section {
        margin-bottom: 80px;
    }
    .header_list li {
        padding: 4px 6px;
        font-size: 14px;
    }
}