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

ul,
ol {
    padding: 0;
    list-style-type: none;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: .3s;
}

:root {
    --black-color: #1F1F1F;
    --grey-color: #4E4E4E;
    --blue-color: #101F4C;
    --blue-light-color: #0580EB;
    --light-color: #F3F9FF;
    --white-color: #fffffF;
}

ul[class], ol[class] {
    padding: 0;
    list-style-type: none;
}

ul li, ol li  {
    position: relative;
    padding: 0 0 0 3rem;

}

header ul li::before, .mobile-menu ul li::before, footer ul li::before {
    display: none;
}

ul li:before, ol li::before {
    position: absolute;
    left: 0;
    color: var(--blue-light-color);
    font-size: 1.8rem;
    font-weight: 500;
}

ul > li:nth-child(1):before {
    content: "1.";
}

ul > li:nth-child(2):before {
    content: "2.";
}

ul > li:nth-child(3):before {
    content: "3.";
}

ul > li:nth-child(4):before {
    content: "4.";
}

ul > li:nth-child(5):before {
    content: "5.";
}

ul > li:nth-child(6):before {
    content: "6.";
}

ul > li:nth-child(7):before {
    content: "7.";
}

ul > li:nth-child(8):before {
    content: "8.";
}

ul > li:nth-child(9):before {
    content: "9.";
}

ul > li:nth-child(10):before {
    content: "10.";
}

ol li::before {
    content: "●";
}

img {
    max-width: 100%;
}
* {
    padding: 0px;
    margin: 0px;
    border: 0px;
    -webkit-box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: transparent;
}
  
::-webkit-scrollbar-track {
    background: var(--black-color);
    border-radius: 10px;
}
  
::-webkit-scrollbar-thumb {
    background-color: var(--blue-light-color);
    border-radius: 10px;
    border: none; /* Оформление границ бегунка */
}

html {
    min-width: 320px;
    font-size: 10px;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--white-color);
    color: var(--grey-color);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 23.4rem;
    height: 4.9rem;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--white-color);
    border-radius: 3rem;
    background: transparent;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(255,255,255,1) inset;
    -webkit-box-shadow: 0px 0px 0px 1px rgba(255,255,255,1) inset;
    -moz-box-shadow: 0px 0px 0px 1px rgba(255,255,255,1) inset;
    transition: .3s;
}

.btn.btn-blue {
    background: var(--blue-light-color);
    box-shadow: none;
}

.btn span {
    font-family: "Poppins", sans-serif;
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: 500;
}

.btn:hover {
    background: #2390EE;
    box-shadow: 0px 0px 0px 1px #2390EE inset;
    -webkit-box-shadow: 0px 0px 0px 1px #2390EE inset;
    -moz-box-shadow: 0px 0px 0px 1px #2390EE inset;
}

.btn:active {
    background: var(--blue-color);
    box-shadow: 0px 0px 0px 1px var(--blue-color) inset;
    -webkit-box-shadow: 0px 0px 0px 1px var(--blue-color) inset;
    -moz-box-shadow: 0px 0px 0px 1px var(--blue-color) inset;
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    color: var(--white-color);
    margin: 0 0 4.6rem;
    text-transform: uppercase;
}

h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--black-color);
    margin: 0 0 4.6rem;
    text-transform: uppercase;
    text-align: center;
}

h2 span {
    color: var(--blue-light-color);
}

h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--black-color);
    margin: 0 0 2.4rem;
    text-transform: uppercase;
}

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

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

section {
    padding: 8rem 0;
}

section.light-bg {
    background-color: var(--light-color);
}

/*============= header =============*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3.4rem 0;
    background-color: transparent;
    transition: .3s;
    z-index: 51;
}

header.scroll {
    background-color: var(--blue-color);
    padding: 1.4rem 0;
}

header.scroll .logo {
    color: var(--white-color);
}

header .row {
    align-items: center;
    gap: 4rem;
}

.logo {
    font-weight: bold;
    font-size: 3rem;
    color: var(--blue-light-color);
    transition: .3s;
}
header .nav-menu {
    margin: 0 0 0 auto;
}

header .nav-menu ul {
    display: flex;
    gap: 1.2rem;
}

header .nav-menu ul a {
    color: var(--white-color);
    transition: .3s;
}

header .nav-menu ul a:hover {
    color: var(--blue-light-color);
}

header .close-menu, header .burger-menu {
    cursor: pointer;
    color: var(--white-color);
    display: none;
}

/*============= primary =============*/

.section-primary {
    position: relative;
    background-image: url(../images/primary-bg.webp);
    background-size: cover;
    background-position: center;
}

.section-primary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(75, 75, 75, .7);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.section-primary .row {
    position: relative;
    gap: 6rem;
    z-index: 3;
}

.section-primary__content {
    width: calc(50% - 3rem);
    padding: 8rem 0;
}

.section-primary__content p {
    color: var(--white-color);
    margin: 1.6rem 0 0 0;
    font-size: 2.2rem; 
}

.section-primary__order {
    width: calc(50% - 3rem);
    display: flex;
}

.section-primary__order .btn {
    margin: auto 0 0 auto;
}

/*============= section-advantages =============*/

.section-advantages .row {
    gap: 4rem;
}

.section-advantages__item {
    width: calc((100% - 12rem) / 4);
    text-align: center;
    padding: 2rem;
    border: .1rem solid var(--grey-color);
    border-radius: .6rem;
}
.section-advantages__item .fa {
    font-size: 6rem;
    margin: 0 0 2rem;
    color: var(--blue-light-color);
}

/*============= section-uslugi =============*/

.section-uslugi .row {
    gap: 4rem;
}

.section-uslugi__item {
    width: calc((100% - 4rem) / 2);
    text-align: center;
    padding: 2rem;
    border: .1rem solid var(--grey-color);
    border-radius: .6rem;
}

.section-uslugi__item .fa {
    font-size: 4rem;
    margin: 0 0 2rem;
    color: var(--blue-light-color);
}

.section-uslugi__item h4 {
    font-size: 2.2rem;
    margin: .8rem;
}

/*============= section-order =============*/

.section-order {
    padding: 0;
    position: relative;
    background-image: url(../images/order-bg.webp);
    background-size: cover;
    background-position: tops;
}

.section-order__form {
    padding: 8rem 2rem;
    background-color: var(--white-color);
    width: calc(50% - 2rem);
    max-width: 100%;
    text-align: center;
}

.section-order__form h2 {
    font-size: 2.8rem;
    margin: 0 0 2rem;
}

.section-order__form h3 {
    font-size: 1.8rem;
    text-transform: none;
}

.section-order__form input, .section-order__form select {
    width: 100%;
    font-size: 1.4rem;
    padding: 1.4rem;
    border: .1rem solid var(--black-color);
    color: var(--black-color);
    border-radius: .6rem;
    margin: 0 0 1.4rem;
    outline: none;
}

.section-order__form p {
    color: var(--black-color);
    margin: 0 0 .8rem;
}

/*============= section-steps =============*/

.section-steps .row {
    gap: 0;
}

.section-steps__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((100% - 12rem) / 4);
    text-align: center;
    padding: 2rem 1rem;
    border: .1rem solid var(--grey-color);
    border-radius: .6rem;
}

.section-steps__item p {
    font-size: 2rem;
}

.section-steps__arrow {
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-steps__arrow .fa {
    font-size: 2rem;
}

/*============= section-garanty =============*/

.section-garanty ol li, .section-garanty ol li:before {
    font-size: 2.4rem;
}

/*============= footer =============*/

footer {
    background-color: var(--black-color);
    padding: 4rem;
}

footer p {
    font-size: 1.4rem;
    color: var(--white-color);
    margin: auto 0 0 auto;
}


@media screen and (max-width: 1366px) {
    
}

@media screen and (max-width: 1199px) {

    html {
        font-size: 8px;
    }

}

@media screen and (max-width: 992px) {

    html {
        font-size: 7px;
    }

}

@media screen and (max-width: 768px) {

    .section-primary .row {
        gap: 0;
    }

    .section-primary__content, .section-primary__order {
        width: 100%;
    }

    .section-advantages__item {
        width: calc((100% - 4rem) / 2);
    }

    .section-steps__item {
        width: calc((100% - 8rem) / 2);
        margin: 0 0 4rem;
    }

    .section-steps__arrow {
        margin: 0 0 4rem;
    }

}

@media screen and (max-width: 576px) {
    
    header .btn {
        display: none;
    }

    header .nav-menu {
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: var(--blue-light-color);
        padding: 3rem;
        transform: translateX(-100%);
        transition: .3s;
        z-index: 100;
    }

    header .nav-menu.open {
        transform: translateX(0);
    }

    header .nav-menu ul {
        flex-direction: column;
        margin: 5rem 0 0;
    }

    header .nav-menu ul li {
        padding: 0;
        text-align: right;
    }

    header .nav-menu ul a {
        font-size: 3rem;
    }

    header .nav-menu ul li a:hover {
        color: var(--white-color);
    }

    header .close-menu, header .burger-menu {
        display: block;
        font-size: 4rem;
    }

    header .burger-menu {
        margin: auto 0 auto auto;
    }

    .section-order__form {
        width: 100%;
    }

    form .btn.btn-blue {
        margin: 0 auto;
    }

}

@media screen and (max-width: 414px) {

    h1, .section-primary__content p {
        text-align: center;
    }

    .section-primary__order .btn {
        margin: auto;
    }

    .section-uslugi__item {
        width: 100%;
    }

    .section-steps__item, .section-steps__arrow {
        width: 100%;
        margin: 0;
    }

    .section-steps__arrow {
        height: 8rem;
    }

    .section-steps__arrow .fa {
        font-size: 4rem;
        transform: rotate(90deg);
    }

    footer .row {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    footer p {
        margin: 0;
        font-size: 1.8rem;
    }
    
}

@media screen and (max-width: 360px) {

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    .section-order__form h2 {
        font-size: 2.2rem;
    }

    .section-steps__arrow {
        height: 4rem;
    }

    .section-steps__arrow .fa {
        font-size: 2rem;
    }

    .section-garanty ol li, .section-garanty ol li:before {
        font-size: 1.8rem;
    }

}

@media screen and (max-width: 320px) {
    .section-advantages__item {
        width: 100%;
    }
}