:root {
    --font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    font-size: 18px;
    color: #6c7279;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

p {
    margin: 0 0 10px;
}
a {
    text-decoration: none;
}
.list-reset {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* Container
===================*/

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Header
===================*/

.header {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}
.header__logo {
    max-width: 300px;
}

.header.fixed {
    height: auto;
    position: fixed;
    background-color: #3a5b7a;
}

.header.fixed .header__inner {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 0;
    border-bottom: 1px solid #3a5b7a;
}


/* Nav
===================*/

.nav {
    display: flex;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav__link {
    margin-left: 50px;
    color: #fff;
    text-decoration: none;
    opacity: .75;
    transition: opacity .1s linear;
}

.nav__link:first-child {
    margin-left: 0;
}

.nav__link:hover {
    opacity: 1;
}


/* Intro
===================*/

.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 750px;
    padding-top: 100px;
    background: #3a5b7a url("../img/intro-bg.png") center no-repeat;
    background-size: cover;
}
.intro-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    padding-top: 100px;
    background: #3a5b7a url("img/intro-bg.png") center no-repeat;
    background-size: cover;
}
.intro__inner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    text-align: center;
}

.intro__title {
    margin: 0 0 30px;
    font-size: 65px;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.intro__subtitle {
    margin-bottom: 20px;
    font-size: 22px;
    color: #3a5b7a;
    line-height: 1.5;
    font-weight: 400;
}


/* Button
===================*/

.btn {
    display: inline-block;
    vertical-align: top;
    padding: 14px 40px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background .1s linear;
}

.btn--red {
    background-color: #3a5b7a;
}

.btn--red:hover {
    background-color: #2b4359;
}

.btn--long {
    min-width: 280px;
}
.btn-page{
    text-align: center;
    margin-top: 35px;
}


/* Features
===================*/

.features {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}

.features__h {
    margin: 0 0 30px;
    font-size: 35px;
    line-height: 1.1;
    color: #3a5b7a;
    font-weight: 500;
    text-align: center;
    padding-top: 60px;
}

.features__item {
    width: 50%;
    padding: 0 40px;
    margin: 25px 0;
    text-align: center;
    cursor: pointer;
}

.features__icon {
    margin-bottom: 25px;
    max-width: 105px;
}

.features__title {
    margin-bottom: 20px;
    font-size: 14px;
    color: #2d3033;
    font-weight: 700;
    text-transform: uppercase;
}

.features__text {
    font-size: 14px;
    line-height: 1.5;
    color: #6c7279;
}


/* Social
===================*/

.social {
    display: flex;
}

.social--footer {
    justify-content: center;
}

.social__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 4px;
    background-color: #fff;
    border: 1px solid #e8ecee;
    transition: background .1s linear;
}

.social__item:hover {
    background-color: #e8ecee;
}

.social__item:hover .social__icon {
    fill: #000;
}

.social--footer .social__item {
    background-color: transparent;
    border-width: 2px;
    border-color: #fff;
    border-radius: 2px;
}

.social--footer .social__item:hover {
    background-color: #fff;
}

.social__icon {
    display: block;
    height: 18px;
    fill: #c6cacc;
    transition: fill .1s linear;
}

.social--footer .social__icon {
    fill: #fff;
}


/* Send
===================*/

.send {
    margin: 10px 0;
    text-align: center;
}

.send__title {
    margin: 0 0 30px;
    font-size: 65px;
    line-height: 1.1;
    color: #3a5b7a;
    font-weight: 700;
    text-align: center;
}

label.error {
    display: none!important;
}

form {
    border: 3px solid #3a5b7a;
    padding: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
}

form input {
    width: 100%;
    height: 50px;
    border: 1px solid #515369;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

form input.error {
    border-color: red;
}

form textarea {
    width: 100%;
    max-width: 464px;
    border: 1px solid #515369;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    line-height: 18px;
}

form button {
    height: 50px;
    width: 100%;
    cursor: pointer;
}

.thx__text {
    display: block;
    margin: 0 auto;
}


/* Footer
===================*/

.footer {
    background-color: #3a5b7a;
    margin-top: 30px;
}
.footer__inner {
    display: flex;
    flex-wrap: wrap;
    padding: 70px 0;
}

.footer__block {
    width: 33.33333%;
    padding: 0 15px;
    text-align: center;
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 52px;
    border-bottom: 1px solid #5b87b0;
}

.footer-contacts-item:not(:last-child) {
    margin-right: 128px;
}

.footer-contacts-text {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 40px;
    color: #5b87b0;
    width: 100%;
}

.footer-contacts-value {
    display: inline-block;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
    width: 100%;
}

.map {
    border-radius: 9%;
    max-width: 300px;
}

.footer-middle {
    --grid-gap: 70px;
    display: grid;
    gap: var(--grid-gap);
    grid-template-columns: repeat(3, 1fr);
    padding: 60px 0;
    border-bottom: 1px solid #5b87b0;
}

.footer-column:last-child {
    position: relative;
}

.footer-column:last-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-1 * (var(--grid-gap)));
    width: 1px;
    height: 100%;
    background-color: #5b87b0;
}

.footer-title {
    margin: 0;
    margin-bottom: 21px;
    font-weight: 600;
    font-size: 16px;
    line-height: 38px;
    text-transform: uppercase;
    color: #fff;
}

.footer-link {
    display: inline-block;
    font-size: 16px;
    line-height: 40px;
    text-decoration: none;
    color: #B6C197;
}

.footer-text {
    margin: 0;
    margin-bottom: 23px;
    font-size: 16px;
    line-height: 26px;
    color: #B6C197;
}

.footer-mail {
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 38px;
    text-decoration: none;
    color: #fff;
}





/* Copyright
===================*/

.copyright {
    padding: 20px 0;
    background-color: #3a5b7a;
}

.copyright__text {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #aeaeae;
}

.copyright__text span {
    color: #fff;
}


/* Burger */

.burger {
    display: none;
    padding: 9px 2px;
    background: none;
    border: 0;
    cursor: pointer;
}

.burger__item {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #fff;
    font-size: 0;
    color: transparent;
    position: relative;
}

.burger__item:before,
.burger__item:after {
    content: "";
    height: 100%;
    background-color: #fff;
    position: absolute;
    right: 0;
    z-index: 1;
}

.burger__item:before {
    width: 30px;
    top: -8px;
}

.burger__item:after {
    width: 26px;
    bottom: -8px;
}
/* Список
===================*/
.services-text li {
    padding: 0;
    margin: 0;
    padding-left: 15px;
    background-image: url(../img/li.svg);
    background-position: left 10px;
    background-size: 0.7rem 0.7rem;
    background-repeat: no-repeat;
}
.services-descr-services {
    max-width: 450px;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 500;
    color: #3a5b7a;
}
/* Список
===================*/
.services-text li {
    padding: 0;
    margin: 0;
    padding-left: 15px;
    background-image: url(../img/li.svg);
    background-position: left 10px;
    background-size: 0.7rem 0.7rem;
    background-repeat: no-repeat;
}
.services-descr-services {
    max-width: 450px;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 500;
}
.services-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.services-list {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}
.buy{
    max-width: 1000px;
    grid-template-columns: repeat(1, 1fr);

}
/* Media
===================*/

@media (max-width: 1300px) {}

@media (max-width: 991px) {
    /* Nav */
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #3a5b7a;
        text-align: right;
        position: absolute;
        top: 100%;
        right: 0;
    }
    .nav.show {
        display: flex;
    }
    .nav__link {
        padding: 9px 15px;
    }
    /* Burger */
    .burger {
        display: block;
    }
    /* Intro */
    .intro__title {
        font-size: 40px;
    }
    /* Features */
    .features__item {
        width: 50%;
    }
    /* Send */
    .send__title {
        font-size: 40px;
    }
    .services-list {
        gap: 50px;
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-middle {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-column:last-child::before {
        display: none;
    }
}

@media (max-width: 767px) {
    /* Intro */
    .intro {
        height: auto;
        padding-top: 130px;
        padding-bottom: 30px;
    }
    .intro__title {
        font-size: 30px;
    }
    /* .intro__subtitle {
        margin-bottom: 30px;
        font-size: 16px;
    } */
    .header__logo {
        max-width: 200px;
    }
    /* Features */
    .features {
        margin: 40px 0;
    }
    .features__item {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    /* Send */
    .send__title {
        font-size: 30px;
    }
    /* Btn */
    .btn--long {
        min-width: 260px;
    }
    /* Download */
    .download {
        margin: 50px 0;
    }
    .download__title {
        font-size: 24px;
    }
    /* Footer */
    .footer__inner {
        padding: 30px 0;
    }
    .footer__block {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 30px;
    }
    .footer__block:last-child {
        margin-bottom: 0;
    }
    .services-list-services {
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }
}

@media (max-width: 500px) {
    /* Reviews */
    .reviews__img {
        right: -100px;
    }
    .buy{
        max-width: 370px;
    }
    .features__h{
        font-size: 25px;
    }
    .services-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }
    .footer-middle {
        --grid-gap: 40px;
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
    }
    .footer-middle-dlc {
        padding-top: 30px;
    }
}