html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    vertical-align: baseline;
}
a {
    text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

.layer {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.section {
    min-height: 100vh;
    padding: 72px 100px;
}
.section .title {
    font-size: 3.2em;
    font-weight: 800;
}
.section .section__wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 144px);
    min-height: 500px;
}
.section .section__top {
    display: flex;
    justify-content: space-between;
}
.section .section__center {
    margin: 48px 0;
}
.section.top {
    background: url('./images/bg-top.jpg') center / cover no-repeat;
    color: #FFF;
}
.section.top .section__top {
    align-items: center;
}
.section.excellence .section__wrap {
    height: calc(100vh - 172px);
    padding: 0;
}
.section.footer {
    padding-bottom: 120px;
    background: url('./images/bg-top.jpg') center / cover no-repeat;
    color: #FFF;
}
.section.footer .subtitle {
    max-width: 220px;
    margin-top: 16px;
    font-size: 1.4em;
}
.section.footer .section__wrap {
    height: calc(100vh - 192px);
}

.logo {
    max-width: 125px;
}
.logo img {
    width: 100%;
}

.top .title {
    font-size: 4.4em;
    font-weight: 600;
}
.top .subtitle {
    margin-top: 24px;
    font-size: 1.6em;
}
.top .section__bottom {
    font-size: 1.3em;
}

.nav .nav__link {
    margin-left: 16px;
    font-size: 1.5em;
    color: #FFF;
    transition: all 300ms;
}
.nav .nav__link:first-child {
    margin-left: 0;
}
.nav .nav__link:hover {
    color: black;
}

.plus-block .plus-block__top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgb(217, 217, 217);
    font-size: 2.4em;
}
.plus-block .plus-block__bottom {
    margin: -1px 0 0 47px;
    padding: 32px 64px 32px 36px;
    border: 1px solid rgb(217, 217, 217);
}
.plus-block .plus-block__bottom p {
    margin-top: 24px;
    font-size: 1.2em;
    line-height: 1.3;
}
.plus-block .plus-block__bottom strong {
    font-size: 1em;
}
.plus-block .plus-block__bottom p:first-child {
    margin-top: 0;
}

.benefits {
    display: flex;
    justify-content: space-around;
    margin-bottom: 48px;
    text-align: center;
}
.benefit {
    width: 25%;
    padding: 0 24px;
}
.benefit .benefit__icon {
    width: auto;
    height: 40px;
}
.benefit .benefit__icon img {
    width: auto;
    height: 100%;
}
.benefit .benefit__icon.benefit__icon_team img {
    height: 65px;
    margin-top: -12px;
}
.benefit .benefit__title {
    margin-top: 24px;
    font-size: 1.4em;
}

.services .title, .tech .title {
    margin-bottom: 96px;
}
.services-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 96px 0;
    height: calc(100% - 128px);
}
.service {
    width: 25%;
    padding-right: 48px;
}
.service .service__title {
    margin-bottom: 16px;
    font-size: 1.4em;
    font-weight: 800;
}
.service .service__list {
    font-size: 1.1em;
    line-height: 1.3;
}
.service .service__list ol {
    padding-left: 14px;
    list-style-type: disc;
}

.boxes-wrap {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    min-height: 700px;
    height: calc(100vh - 180px);
    padding: 36px 0 48px;
}
.box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    border: 1px solid rgb(217, 217, 217);
    padding: 82px 32px 48px;
}
.box .box__title {
    position: absolute;
    top: -36px;
    left: 16px;
    border: 1px solid rgb(217, 217, 217);
    padding: 16px 24px;
    background-color: #FFF;
}
.box .box__title div {
    font-size: 2.0em;
    font-weight: 800;
    line-height: 1.2;
}
.box .box__title p {
    font-size: 1.1em;
}
.box .box__wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.box .box__text {
    height: 35%;
    line-height: 1.6;
}
.box .box__tech {
    width: 50%;
    height: 65%;
}
.box .box__tech-title {
    margin: 16px 0;
    font-size: 1.2em;
    font-weight: 800;
}
.box .box__tech-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.box .box__tech-list ul li {
    border-radius: 50px;
    padding: 5px 16px;
    background-color:  rgb(217, 217, 217);
    font-size: 1.0em;
    white-space: nowrap;
}
.box .box__img {
    position: absolute;
    right: 40px;
    bottom: -48px;
    width: 40%;
}
.box .box__img img {
    width: 100%;
}
.devices {
    min-height: 680px;
}
.devices .box {
    width: 80%;
    min-height: 540px;
    height: calc(100vh - 180px);
    padding-top: 100px;
}
.devices .box .box__title {
    max-width: 600px;
}
.devices .box .box__wrap {
    width: 70%;
}
.devices .box .box__tech {
    width: 90%;
}
.devices .box .box__img {
    right: 0;
    bottom: -78px;
    max-width: 500px;
    width: 100%;
    transform: translate(50%, 0);
}

.contact-block {
    display: flex;
    justify-content: space-between;
    gap: 64px 0;
}
.contact-block .contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    height: 100%;
}
.contact-block .mail a {
    font-size: 1.8em;
    color: #FFF;
    transition: all 300ms;
}
.contact-block .mail a:hover {
    text-decoration: underline;
}
.contact-block .cities-block p {
    margin: 32px 0 16px;
    font-size: 1.6em;
}
.contact-block .cities {
    display: flex;
    gap: 0 64px;
}
.contact-block .cities ol {
    padding-left: 20px;
    list-style-type: disc;
}
.contact-block .cities li {
    font-size: 1.6em;
}
.contact-block .text {
    width: 40%;
    font-size: 3.8em;
    line-height: 1.1;
}

@media (max-height: 580px) {
    .boxes-wrap {
        height: 100%;
    }
}

@media (max-width: 1260px) {
    .section {
        padding: 64px;
    }
    .nav .nav__link {
        font-size: 1.4em;
    }
    .devices .box .box__text {
        height: auto;
    }
    .devices .box .box__tech {
        height: auto;
    }
    .devices .box .box__img {
        max-width: 400px;
    }
}

@media (max-width: 1164px) {
    .nav .nav__link {
        font-size: 1.2em;
    }
    .box.box_omni .box__wrap {
        padding-top: 40px;
    }
}

@media (max-width: 1080px) {
    .service {
        width: 50%;
    }
}

@media (max-width: 1023px) {
    .section {
        padding: 48px;
    }
    .section.footer {
        padding: 48px;
    }
    .section.footer .section__wrap {
        height: calc(100vh - 96px);
    }
    .section.footer .subtitle {
        max-width: 180px;
        font-size: 1.2em;
    }
    .nav .nav__link {
        font-size: 1.1em;
    }
    .boxes-wrap {
        min-height: 660px;
        height: 100%;
    }
    .box .box__text {
        height: auto;
    }
    .box .box__tech {
        height: auto;
    }
    .box .box__img {
        right: 10px;
        bottom: -28px;
    }
    .box .box__tech-list ul li:last-child {
        white-space: normal;
    }
    .devices {
        min-height: 760px;
    }
    .devices .box {
        height: 100%;
    }
    .contact-block .text {
        font-size: 3.2em;
    }
}

@media (max-width: 900px) {
    .section.top .section__top {
        align-items: flex-start;
    }
    .section.top, .section.footer {
        background-position: 10% center;
    }
    .nav .nav__links {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-top: -16px;
    }
    .nav .nav__link {
        margin: 0;
        padding: 16px 0;
    }
    .boxes-wrap {
        flex-direction: column;
        gap: 112px;
    }
    .box {
        width: 100%;
        min-height: 460px;
    }
    .box .box__wrap {
        width: 60%;
    }
    .box .box__tech-title {
        margin-top: 48px;
    }
    .box .box__img {
        width: 30%;
        right: 20px;
        bottom: -48px;
    }
    .devices .box {
        padding-top: 140px;
    }
    .devices .box .box__img {
        max-width: 300px;
        bottom: 0;
        transform: translate(50%, -50%);
    }
    .contact-block {
        flex-direction: column;
    }
    .contact-block .contact {
        order: 2;
        width: 100%;
    }
    .contact-block .text {
        order: 1;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .section {
        min-height: 600px;
        padding: 32px;
    }
    .section .section__wrap {
        height: 100%;
    }
    .section.top {
        min-height: 100vh;
    }
    .section.top .section__wrap {
        height: calc(100vh - 64px);
    }
    .section.excellence .section__wrap {
         height: 100%;
    }
    .benefits {
        flex-wrap: wrap;
        margin-bottom: 24px;
    }
    .benefit {
        width: 50%;
        margin-bottom: 24px;
    }
    .services .title,
    .tech .title {
        margin-bottom: 48px;
    }
    .services-wrap {
        gap: 24px;
    }
    .service {
        width: 100%;
    }
    .devices {
        padding-bottom: 72px;
    }
    .devices .box {
        width: 100%;
        margin: 0;
    }
    .devices .box .box__wrap {
        width: 100%;
    }
    .devices .box .box__img {
        position: relative;
        right: auto;
        bottom: -100px;
        margin-top: -60px;
        transform: translate(0, 0);
        align-self: center;
    }
    .section.footer {
        min-height: 100vh;
        padding: 32px;
    }
    .contact-block .text {
        font-size: 2em;
    }
    .contact-block .cities-block p {
        font-size: 1.2em;
    }
    .contact-block .cities {
        gap: 0 24px;
    }
    .contact-block .cities li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .top .title {
        font-size: 3.2em;
    }
    .nav .nav__links {
        margin-top: -16px;
    }
    .nav .nav__link {
        padding: 16px 0;
        font-size: 0.9em;
    }
    .benefit {
        width: 100%;
    }
    .boxes-wrap {
        gap: 132px;
    }
    .box {
        padding-top: 48px;
    }
    .box .box__wrap {
        width: 100%;
    }
    .box .box__title div {
        font-size: 1.4em;
    }
    .box .box__img {
        position: relative;
        right: 0;
        bottom: -100px;
        width: 80%;
        margin-top: -60px;
        align-self: center;
    }
    .section.footer .subtitle {
        max-width: 150px;
    }
}
