body {
    font-family: 'Trebuchet MS', 'Arial', sans-serif;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: normal;
    color: #212460;
    background-color: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.page {
    height: 100%;
}

.page-body {
    min-height: 100%;
    display: grid;
    grid-template-rows: min-content 1fr min-content;
    align-content: start;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 10px;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* Header */

.page-header {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #4DC1C0;
    background-color: #1D2238;
    box-shadow: 1px 1px 23.78px 5.22px rgb(163 181 202 / 61%);
}

.header__top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header__logo {
    display: flex;
}

.logo__link {
    display: flex;
}

.header__contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.contact__box {
    background-image: url(/img/mts.png);
    background-repeat: no-repeat;
    background-size: 32px;
    padding-left: 40px;
    text-align: center;
}

.contact__phone {
    font-size: 24px;
    color: #4DC1C0;
}

.contact__adress {
    font-size: 16px;
    color: #fff;
}

.header__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.header__social__title {
    font-size: 14px;
    color: #fff;
}

.header__social__box {
    display: flex;
    gap: 5px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.social__link {
    display: block;
    width: 26px;
    height: 26px;
    background-size: 26px;
    border: 1px solid #fff;
    border-radius: 50px;
    background-position: center;
}

.social__link--telegram {
    background-image: url(/img/telegram.png);
}

.social__link--viber {
    background-image: url(/img/viber.png);
}

.social__link--instagram {
    background-image: url(/img/instgrm.png);
}

/* Main */

section {
    padding-bottom: 70px;
}

.section__title {
    font-size: 28px;
    color: #212460;
    padding-bottom: 30px;
    margin: 0;
    text-align: center;
}

.main-index {
    padding: 0;
}

.service__index {
    padding-top: 70px;
    background-image: url(/img/shapka1.jpg);
    background-position: center;
    position: relative;
    z-index: 1;
    margin-bottom: 70px;
}

.service__index:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.4);
}

.service__box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.service__box li {
    list-style: none;
    margin: 0;
    padding: 10px 0 10px 42px;
    background-image: url(/img/check.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 8px center;
    width: 200px;
    background-color: rgba(29, 34, 56, 0.8);
    border-radius: 3px;
}

.service__item {
    font-size: 17px;
    line-height: 1;
    color: #fff;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    border-left: 2px solid #4CC0BF;
    text-shadow: 0 0 1px #000;
}

.service__item span {
    display: flex;
}

.advantage__box {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    flex-wrap: wrap;
}

.advantage__item {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    max-width: 160px;
    text-align: center;
    gap: 10px;
    font-weight: bold;
}

.advantage__item img {
    max-width: 100px;
    height: auto;
}

.about-us {
    padding-bottom: 50px;
}

.about-us p {
    color: #212460;
    line-height: 1.4;
}

.map__index {
    background-color: #F9F6FF;
    padding: 50px 0;
}

.map__index__title {
    font-size: 28px;
    text-align: center;
    padding-bottom: 40px;
}

.map__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.map__adress {
    text-align: center;
    font-size: 20px;
    padding-bottom: 20px;
}

.map__adress span {
    display: flex;
    justify-content: center;
    gap: 3px;
    padding-bottom: 5px;
}

.map__navigation {
    border: 2px solid #4DC1C0;
    margin-bottom: 20px;
}

.map__phone {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 5px;
    font-weight: bold;
    width: 100%;
    max-width: 400px;
}

.map__phone div {
    display: block;
}

.map__phone a {
    color: #2d7878;
}

.map__phone span {
    color: #D82727;
}

.brand__index {

    padding: 50px 0;
}

.page-footer {
    background-color: #1D2238;
    color: #fff;
    font-size: 15px;
    padding: 40px 0;
}

.footer__box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer__license {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 15px;
}

.footer__license img {
    border: 1px solid #4DC1C0;
    height: 90px;
    width: auto;
}

.footer__license__desc {
    max-width: 120px;
    line-height: 1.3;
}

.footer__time {
    font-size: 14px;
}

.footer__time span {
    display: inline-block;
    border-bottom: 1px solid #4DC1C0;
    margin-bottom: 5px;
    font-size: 15px;
}

.footer__time a {
    color: #4DC1C0;
    font-size: 13px;
}

.footer__price {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__price a {
    text-align: center;
    padding: 9px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-style: italic;
}

.footer__docx {
    background-color: #2C5898;
    color: #fff;
    border: 1px solid #fff;
}

.footer__status {
    background-color: #5BCEC8;
    border: 1px solid #2E928F;
    color: #fff;
}

.footer__contact {
    line-height: 1.3;
}



/* Media */

@media (min-width: 1200px) {}

@media (min-width: 992px) and (max-width: 1199px) {}

@media (max-width: 820px) {
    .map__adress {
        font-size: 17px;
    }

    .footer__box {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    section {
        padding-bottom: 40px;
    }

    .page-header {
        margin-bottom: 0;
    }

    .header__top {
        justify-content: space-evenly;
        gap: 20px 50px;
    }

    .header__logo {
        order: 1;
    }

    .header__contact {
        order: 3;
    }

    .header__social {
        order: 2;
        margin-top: -10px;
    }

    .contact__phone {
        font-size: 18px;
    }

    .service__box {
        gap: 15px;
    }

    .service__box li {
        width: 165px;
    }

    .service__item {
        font-size: 15px;
        word-break: break-all;
    }

}

@media (max-width: 680px) {
    .service__index {
        margin-bottom: 40px;
    }

    .map__box {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .map__adress {
        font-size: 20px;
    }

    .advantage__item {
        font-size: 13px;
        flex-direction: row;
        line-height: 1;
        text-align: revert;
    }

    .advantage__item img {
        max-width: 40px;
    }

    .about-us p {
        font-size: 16px;
    }

    .service__box {
        gap: 15px 10px;
    }

    .service__box li {
        padding: 10px 0 10px 38px;
    }

    .service__item {
        padding-left: 8px;
    }
}

@media (max-width: 480px) {

    .header__contact {
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .contact__box {
        background-size: 16px;
        padding-left: 20px;
        background-position: left 2px;
    }

    .contact__adress {
        font-size: 14px;
    }

    .service__box {
        justify-content: space-around;
    }

    .section__title {
        padding-bottom: 10px;
    }

    .map__index__title {
        padding-bottom: 30px;
    }

    .about-us {
        padding-bottom: 20px;
    }

    .map__index {
        padding: 30px 0;
    }
}

@media (min-width: 320px) and (max-width: 359px) {
    .header__contact {
        justify-content: center;
    }

    .service__box {
        margin-left: -15px;
    }

    .service__box li {
        background-image: none;
        padding: 5px 10px;
        width: 140px;
    }

}