body {
    font-family: 'Roboto', sans-serif;
}

navbar.navbar {
    display: block;
    background: #1c2834;
    color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    padding: 1em 0;
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.logo a {
    font-family: 'Tektur', sans-serif;
    color: #FFFFFF;
    font-size: 1.2em;
    display: block;
    font-weight: 500;
}

.logo span {
    font-size: 11px;
    background: #ac0606;
    color: #f2f2f2;
    padding: 3px 7px 1px;
    border-radius: 4px;
}

ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 2em;
}

li.menu__item > a {
    color: #FFFFFF;
    font-size: .875em;
}

.callback {
    position: relative;
}

.callback i {
    display: none;
}

.navbar__phone {
    font-size: .875em;
    padding: 0.5em 1.25em;
    color: #FFFFFF;
    user-select: none;
    cursor: pointer;
}

.burger {
    display: none;
}

header.header {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    background: url(../images/header.webp) center center no-repeat;
    background-size: cover;
}

header.header::before {
    content: '';
    bottom: 0;
    right: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .62);
    background: linear-gradient(to left, rgba(0 0 0 / 0), #091622 82%);
}

header.header .container {
    position: relative;
    padding: 5em 0.5em;
}

.header__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 2em 0;
    align-items: center;
}

.header__item {
    padding: 1em 2em;
    border-left: 1px solid #FFFFFF;
}

.header__item:first-child {
    padding: 1em 2em 1em 0;
    border-left: 0;
}

a.header__button {
    border: 0;
    background: #4286F5;
    color: #FFFFFF;
    padding: 0.75em 2.25em;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
}

a.header__button:hover {
    background: #154B9F;
}

section.box {
    background: #F9F9F9;
    padding: 5em 0;
    box-sizing: border-box;
    margin: 0;
}

.box__card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.box__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/repeat.webp') center center no-repeat;
}

.box__card--item {
    position: relative;
    background: #FFFFFF;
    width: calc(50% - 2em);
    -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    border-radius: 18px;
    padding: 1em;
    z-index: 5;
}

.box__card--item.two {
    transform: translateY(1em);
}

.box__card__photo {
    width: 100%;
    height: 80px;
}

.box__card__photo img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.box__card__caption h3 {
    margin: 0;
    padding: 1em 0 0.5em 0;
    font-size: 14px;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

.box__card__caption p {
    margin: 0;
    padding: 0.5em 0 0 0;
    font-size: 12px;
    line-height: 20px;
}

.box__content {
    padding: 2em;
}

h2.box__content--title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.25em;
    margin: 1em 0;
    line-height: 1.25em;
}

h2.box__content--title span {
    display: inline-block;
    color: #FFFFFF;
    background: #4286F5;
    line-height: 34px;
    padding: 5px 5px 5px 5px;
    border-radius: 12px;
}

p.box__content--text {
    margin-bottom: 1em;
    padding-left: 1em;
    font-size: .875em;
    font-weight: 500;
    text-align: justify;
    line-height: 22px;
    border-left: 1px solid #4286F5;
}

section.wrap {
    box-sizing: border-box;
    padding: 5em 0.5em;
}

.card {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

h3.wrap__title {
    width: 100%;
    font-size: 2.25em;
    font-family: 'Nunito', sans-serif;
    display: inline-flex;
    align-items: center;
    margin: 0 0 2em;
    flex-wrap: wrap;
    justify-content: center;
}

h3.wrap__title span {
    background: #4286F5;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 12px;
    margin: 0 10px;
}

.card__item {
    width: calc(33.333333% - 0.7em);
    position: relative;
    height: 230px;
    display: flex;
    align-items: flex-start;
    border-radius: 1em;
    overflow: hidden;
}

.card__cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 230px;
}

.card__cover img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.card__cover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #066492;
    opacity: 0.8;
}

h4.card__item--title {
    color: #FFFFFF;
    position: relative;
    width: 50%;
    font-size: 18px;
    line-height: 150%;
    padding-left: 2em;
    z-index: 9;
}

.card__image {
    position: absolute;
    width: 120px;
    height: 95px;
    bottom: 1em;
    right: 1em;
    z-index: 2;
    background: repeating-linear-gradient(-45deg, transparent, transparent 3px, #1497C9 4px, #1497C9 5px);
    padding: 40px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .75em;
    border: 1px dashed rgba(20 151 201 / 50%);
}

h3.doc__title {
    width: 100%;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 2.25em;
    font-family: 'Nunito', sans-serif;
    margin: 0;
}

section.doc {
    box-sizing: border-box;
    background: #F9F9F9;
    padding: 5em 0.5em;
}

h3.doc__title span {
    background: #4286F5;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 12px;
    margin: 0 10px;
}

p.doc__text {
    padding: 0 2em;
    text-align: center;
    font-weight: 600;
    margin: 0.5em 0.5em 2em 0.5em;
    color: #666666;
}

.doc__item {
    position: relative;
    margin: 2em;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    height: 230px;
}

.doc__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 0 0 / 15%);
}

.doc__item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
}

.row.row--overlay {
    position: relative;
}

.row.row--overlay::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -40px;
    width: 100%;
    height: 150px;
    background: #4286F5;
    border-radius: 12px;
}

.doc__card {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    padding: 1em;
    border-radius: 18px;
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}

h4.doc__card--title {
    margin: 0;
    font-size: .9em;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.doc__card--text {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    font-size: .875em;
    padding: 1em 0;
    font-weight: 500;
}

.doc__card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}

.row.row--wrap {
    gap: 1em;
    padding: 0 1em;
}

.row.row--wrap .row__col-3 {
    width: calc(25% - 0.75em);
    flex-basis: calc(25% - 0.75em);
}

.doc__link {
    background: #FFFFFF;
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    border-radius: 12px;
    padding: 1em 2em;
}

.doc__link a {
    display: flex;
    gap: 1em;
}

.doc__link i {
    color: #ac0606;
}

.doc__link span {
    color: #4286F5;
    font-size: .9em;
    font-weight: 500;
}

section.bg {
    box-sizing: border-box;
    padding: 5em .5em;
    background: url("../images/form_bg.webp") fixed center center no-repeat;
    background-size: cover;
    position: relative;
}

section.bg::before {
    content: '';
    bottom: 0;
    right: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .62);
}

section.bg .container {
    position: relative;
}

.bg__form {
    background: repeating-linear-gradient(-45deg, #10a5de, #10a5de 3px, #1497C9 4px, #1497C9 5px);
    margin: 0 2em;
    padding: 3em;
    border-radius: 1em;
}
h3.bg__form--title {
    color: #FFFFFF;
    margin: 0;
    padding-bottom: 1em;
    line-height: 30px;
}

h3.bg__form--title span {
    background: #FFFFFF;
    color: #10a5de;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    line-height: 20px;
}

.form__group {
    padding-bottom: 1em;
}

.form__group label {
    display: block;
    font-size: .875em;
    font-weight: 600;
    color: #FFFFFF;
}

.form__input {
    box-sizing: border-box;
    width: 100%;
    border-radius: 6px;
    border: 0;
    padding: 0.75em 1em;
    margin-top: 0.5em;
    background: #1497C9;
    color: #FFFFFF;
}

button.form__submit {
    background: #FFFFFF;
    border: 0;
    padding: 0.75em 2em;
    color: #0FA5DE;
    border-radius: 4px;
    cursor: pointer;
    transition: .3s;
    width: 100%;
}

button.form__submit:hover {
    background: #1488B4;
    color: #FFFFFF;
}

.form__button {
    padding-top: 0.5em;
}

h3.bg__title {
    color: #FFFFFF;
    font-size: 1.75em;
    line-height: 42px;
    margin: 0;
}

p.bg__text {
    color: #FFFFFF;
    font-weight: 500;
    font-size: .875em;
    line-height: 20px;
    text-indent: 2em;
    text-align: justify;
}

.row.as-c {
    align-items: center;
}

footer.footer {
    padding: 3em 0.5em;
    background: #2A2A2A;
    color: rgba(255 255 255 / 55%);
}

p.footer__text {
    margin: 0;
    font-size: .875em;
}

ul.footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

li.footer__menu--item>a, .copy__item a {
    color: rgba(255 255 255 / 75%);
    display: block;
    padding: 0.25em;
    transition: .3s;
}

li.footer__menu--item>a:hover, .copy__item a:hover {
    color: rgba(255 255 255 / 100%);
}

.copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1em;
    padding-top: 0.25em;
    border-top: 1px solid rgba(255 255 255 / 25%);
    align-items: center;
}

.copy__item span {
    display: block;
    font-size: .875em;
    padding: 0.5em 0;
}

div#map {
    width: 100%;
    height: 350px;
    position: absolute;
    top: 0;
    left: 0;
}

section#contact {
    position: relative;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.contact__content {
    width: 375px;
    padding: 2em;
    position: relative;
    display: flex;
    align-items: center;
    height: 350px;
}

.contact__list {
    background: #2A2A2A;
    border-radius: 12px;
    padding: 2em;
    color: #FFFFFF;
}

h3.contact__title {
    margin: 0;
}

.contact__group {
    padding: 0.5em 0;
    border-bottom: 1px solid #3A3A3A;
}

.contact__group:last-child {
    border: 0;
}

span.contact__label {
    display: block;
    font-size: .875em;
    padding-bottom: 1em;
}

span.contact__address {
    display: block;
}

a.contact__phone, a.contact__email {
    color: #4286F5;
    display: block;
    line-height: 28px;
}

.success, .error {
    position: fixed;
    top: 1em;
    right: 1em;
    z-index: 9999;
    background: #1A1A1A;
    padding: 1em 2em;
    color: #FFFFFF;
    border-radius: 12px;
    display: inline-flex;
    gap: 1em;
    align-items: center;
}

.success::before {
    content: '\ea25';
    font-family: 'icomoon', sans-serif;
    color: green;
    font-size: 1.25em;
}

.error::before {
    content: '\e9db';
    color: red;
    font-size: 1.25em;
    font-family: 'icomoon', sans-serif;
}

@media (max-width: 1200px) {
    .card__item {
        width: calc(33.333333% - 0.7em);
    }
}

@media (max-width: 911px) {
    h2.box__content--title, h3.wrap__title, h3.doc__title {
        font-size: 1.75em;
    }

    p.doc__text {
        padding: 2em 2em 0 2em;
        line-height: 24px;
    }

    h2.box__content--title span {
        line-height: 22px;
    }
    .card__item {
        width: calc(50% - 0.5em);
    }
}

@media (max-width: 841px) {
    header.header .container {
        position: relative;
        padding: 5em 1em;
    }

    .header__item:last-child {
        border: 0;
        padding: 1em 0;
    }

    .row.row--wrap .row__col-3 {
        width: calc(50% - 0.75em);
        flex-basis: calc(50% - 0.75em);
    }
    .row.row--overlay::after {
        display: none;
    }
}

@media (max-width: 768px) {
    ul.menu {
        gap: 1em;
    }

    .box__card--item {
        width: calc(50% - 1em);
    }

    p.footer__text {
        padding: 2em 0;
    }
    p.bg__text {
        font-size: 1em;
    }

    section.bg {
        box-sizing: border-box;
        padding: 5em .5em;
        background: url("../images/form_bg_mobile.webp") fixed center center no-repeat;
        background-size: cover;
        position: relative;
    }
}

@media (max-width: 690px) {

    header.header {
        background: url(../images/header_mobile.webp) center center no-repeat;
        background-size: cover;
    }

    .row.row--wrap {
        padding: 2em 1em 0 1em;
        gap: 3em;
    }

    .web {
        display: none;
    }
    .row.row--wrap .row__col-3 {
        width: 100%;
        flex-basis: 100%;
    }

    h4.doc__card--title {
        font-size: 1.17em;
    }

    .doc__card--text {
        font-size: 1em;
    }

    .doc__card img {
        height: 120px;
    }

    .navbar__phone {
        display: none;
    }

    .callback {
        position: fixed;
        z-index: 99;
        bottom: 2em;
        right: 2em;
    }

    .callback a {
        position: relative;
        background: #4fbaea;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        transform: translate(-50%, -50%);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        animation: rotates 1.5s linear infinite;
        z-index: 9;
    }

    .callback i {
        color: #FFFFFF;
        display: inline-block;
        transform: scale(1.25);
    }

    .callback:before,
    .callback:after {
        content: " ";
        display: block;
        position: absolute;
        border-radius: 50%;
        border: 1px solid #4fbaea;
        left: -20px;
        right: -20px;
        top: -20px;
        bottom: -20px;
    }

    .callback:before {
        animation: pulse 1.5s linear infinite;
    }

    .callback:after {
        animation: pulse 2s linear infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(0.5);
            opacity: 0;
        }
        50% {
            opacity: 1;
        }
        100% {
            transform: scale(1.2);
            opacity: 0;
        }
    }

    @keyframes rotates {
        0% {
            transform: rotate(-10deg);
            color: #FFFFFF;
        }
        25% {
            transform: rotate(0deg);
            color: #e5e5e5;
        }
        50% {
            transform: rotate(10deg);
            color: #e5e5e5;
        }
        75% {
            transform: rotate(0deg);
            color: #e5e5e5;
        }
        100% {
            transform: rotate(-10deg);
            color: #FFFFFF;
        }
    }
    ul.menu {
        position: absolute;
        top: 54px;
        left: 0;
        z-index: 1001;
        width: 100%;
        background: #1c2834;
        display: none;
        flex-wrap: wrap;
        gap: 0;
    }

    ul.menu.open {
        display: flex;
    }

    li.menu__item {
        width: 100%;
        border-bottom: 1px solid rgba(255 255 255 / 15%);
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    li.menu__item:last-child {
        border-bottom: 0;
    }

    li.menu__item > a {
        display: block;
        padding: 1em;
        width: 100%;
    }

    .burger {
        display: block;
        padding: .75rem;
        position: relative;
    }

    .burger > span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        background: #FFFFFF;
        margin: .25rem 0;
        -webkit-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
    }

    .burger.open > span:first-child {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 7px;
    }

    .burger.open > span:nth-child(2) {
        opacity: 0;
    }

    .burger.open > span:last-child {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: -7px;
    }

    .logo {
        padding-left: 0.5em;
    }

    header.header .container {
        padding: 3em 1em;
    }

    .header__item {
        width: 100%;
    }

    .header__item:first-child {
        padding: 1em 2em;
        border-left: 1px solid #e5e5e5;
    }

    .box__card {
        padding: 0 1.5em;
    }

    .box__card::before {
        background: url('../images/repeat.webp') fixed center center no-repeat;
    }

    .box__card--item {
        width: 100%;
    }

    .box__card--item.two {
        transform: translateY(0);
    }
    .box__content {
        padding: 0 2em;
    }

    .box__card__caption h3 {
        font-size: 1.17em;
    }

    .box__card__caption p {
        font-size: 1em;
    }

    .bg__form {
        margin: 2em 0 0 0;
    }

    h3.bg__title {
        font-size: 1.25em;
        line-height: 28px;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .card__item {
        width: 100%;
    }
    div#map {
        display: none;
    }
    section#contact .container {
        padding: 0;
    }
    .contact__content {
        padding: 0;
        height: fit-content;
    }
    .contact__list {
        border-radius: 0;
        width: 100%;
    }
    .contact__group {
        padding: 1em;
    }
    h3.contact__title {
        margin-bottom: 0.5em;
    }
}