html, body {
    font-family: 'Alegreya Sans', sans-serif;
    color: #0D2839;
}

.container {
    max-width: 1260px;
    padding: 0 20px;
    margin: 0 auto;
}

.--black {
    color: #0D2839;
}

.--white {
    color: #FFFFFF;
}

.--blue {
    color: #458AFB;
}

.--green {
    color: #9ECB45;
}

.--no-scroll {
    overflow: hidden;
}

.--only-desktop {
    display: inherit;
}

.--only-mobile {
    display: none;
}

.--underline {
    text-decoration: underline;
}

h1, .h1 {
    margin-bottom: 30px;
    font-size: calc(30px + (45 - 30) * ((100vw - 375px) / (1920 - 375)));
    line-height: 1.2;
    font-weight: 500;
}

h2, .h2 {

}

h3, .h3 {
    margin-bottom: 10px;
    font-size: calc(20px + (25 - 20) * ((100vw - 375px) / (1920 - 375)));
    line-height: 1.3;
    font-weight: 500;
}

h4, .h4 {
    margin-bottom: 10px;
    font-size: calc(16px + (19 - 16) * ((100vw - 375px) / (1920 - 375)));
    line-height: 1.3;
}

p {
    font-size: calc(16px + (19 - 16) * ((100vw - 375px) / (1920 - 375)));
    line-height: 1.3;
}

p + p {
    margin-bottom: 10px;
}

ul {
    font-size: calc(16px + (19 - 16) * ((100vw - 375px) / (1920 - 375)));
    line-height: 1.3;
}

li {
    position: relative;
    padding-left: 15px;
}

li:before {
    content: '';
    position: absolute;
    display: inline-block;
    margin-right: 10px;
    min-width: 5px;
    min-height: 5px;
    max-width: 5px;
    max-height: 5px;
    width: 5px;
    height: 5px;
    background-color: #458AFB;
    border-radius: 100%;
    top: 7px;
    left: 0;
}

a {
    transition: color 0.3s;
    color: inherit;
}

a:hover {
    color: #458AFB;
}

input {
    display: inline-block;
    padding: 17px 20px;
    font-size: calc(16px + (19 - 16) * ((100vw - 375px) / (1920 - 375)));
    background-color: #FFFFFF;
    border: 1px solid #D0D0D0;
    color: #7F8081;
    border-radius: 6px;
}

input::placeholder {
    color: #A8A8A8;
}


/*  COMPONENTS  */

.btn {
    display: inline-block;
    padding: 19px 23px;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    border-radius: 6px;
    text-align: center;
    text-transform: uppercase;
    background-color: #458AFB;
    transition: background-color 0.3s;
    cursor: pointer;
}

.btn:hover {
    color: #ffffff;
    background-color: #1E66DC;
}

.form-controls {
    display: flex;
    justify-content: space-between;
}

.form-controls.--flex-d-column {
    flex-direction: column;
}

.form-control {
    width: 100%;
}

.form-control.--half {
    max-width: 47%;
}

.form-control input {
    width: 100%;
}

/*  /COMPONENTS  */

/*  HEADER  */

.header {
    position: relative;
}

.header__wrapper {
    padding-top: 20px;
}

.header__top {
    margin-bottom: 20px;
}

.header__top-wrapper {
    display: flex;
    justify-content: space-between;
}

.header__top-logo {
    width: 142px;
    height: 63px;
}

.header__top-logo img {
    width: 100%;
    height: 100%;
}

.header__top-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 53%;
    font-size: 18px;
}

.header__top-city {
    font-weight: 500;
    color: #458AFB;
    border-bottom: 1px solid #458AFB;
    margin-right: 131px;
}

.header__top-social-icons {
    display: flex;
    margin-right: 37px;
}

.header__top-social-icon {
    padding: 0 10px;
}

.header__top-social-icon img {
    width: 26px;
    height: 26px;
}

.header__top-number {
    color: #0D2839;
    font-weight: 700;
    margin-right: 34px;
}

.header__top-request-call {
    font-weight: 500;
    color: #458AFB;
    border-bottom: 1px solid #458AFB;
}

.header__top-menu {
    width: 32px;
    height: 23px;
}

.header__top-menu svg {
    width: 100%;
    height: 100%;
}

.header__top-menu rect {
    transition: transform 0.3s;
}

.header__top-menu.--active rect:nth-child(1) {
    transform: rotate(-45deg) translateX(-14px) translateY(-3px);
}

.header__top-menu.--active rect:nth-child(2) {
    opacity: 0;
}

.header__top-menu.--active rect:nth-child(3) {
    transform: rotate(45deg) translateX(2px) translateY(-3px);
}

.header__bottom {

}

.header__bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header__bottom-link {
    font-size: 20px;
    font-weight: 500;
    color: #0D2839;
    margin-left: 45px;
}

.header__menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    /* Use vh as a fallback for browsers that do not support Custom Properties */
    height: calc(100vh - 64px);
    height: calc(var(--vh, 1vh) * 100 - 64px);
    background-color: #ffffff;
    z-index: 10;
}

.header__menu-content {
    display: flex;
    flex-direction: column;
    padding: 35px 20px;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
}

.header__menu-links {
    display: flex;
    flex-direction: column;
}

.header__menu-link {
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #0D2839;
}

.header__menu-link:last-of-type {
    margin-bottom: 0px;
}

.header__menu-bottom {
    margin-top: 30px;
}

.header__menu-bottom-phone {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: #0D2839;
}

.header__menu-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.header__menu-bottom-link {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #458AFB;
}

.header__menu-icons {
    display: flex;
    align-items: center;
}

.header__menu-icon {
    width: 26px;
    height: 26px;
    margin-left: 20px;
}
/*  /HEADER  */

/*  MAIN    */

.main {
    padding-top: 120px;
}

/*  /MAIN    */


/*  FOOTER    */

.footer {

}

.footer__wrapper {
    padding: 43px 0 31px;
    border-top: 3px solid #F3F3F3;
}

.footer__blocks {
    display: flex;
    justify-content: space-between;
}

.footer__block {

}

.footer__contact {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    max-width: 142px;
    margin-bottom: 30px;
}

.footer__logo img {
    width: 100%;
    height: 100%;
}

.footer__contact-info {
    margin-bottom: 30px;
}

.footer__contact-number {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__contact-number-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 8px;
}

.footer__contact-phone {
    font-size: 25px;
    line-height: 1.3;
    font-weight: 500;
}

.footer__contact-link {
    font-size: 19px;
    line-height: 1.2;
    color: #458AFB;
    font-weight: 500;
}

.footer__social {
    display: flex;
    align-items: center;
}

.footer__social-text {
    font-size: 19px;
    line-height: 1.3;
}

.footer__social-icon {
    display: inline-block;
    margin-left: 20px;
    width: 26px;
    height: 26px;
}

.footer__social-icon img {
    width: 100%;
    height: 100%;
}

.footer__links {
    display: flex;
    flex-direction: column;
}

.footer__link {
    font-size: 19px;
    line-height: 1.3;
    color: #0D2839;
    margin-bottom: 10px;
}

.footer__link:last-child {
    margin-bottom: 0px;
}

.footer__link.--privacy {
    color: #898989;
    margin-bottom: 44px;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer__copyright-text {
    font-size: 19px;
    line-height: 1.3;
    color: #898989;
    margin-bottom: 6px;
}

.footer__copyright-link {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    font-size: 19px;
    line-height: 1.3;
    color: #0D2839;
}

.footer__copyright-link img {
    margin-left: 9px;
}

/*  /FOOTER    */

/*  BREADCRUMBS  */

.breadcrumbs {

}

.breadcrumbs__wrapper {
    margin-bottom: 4px;
}

.breadcrumbs__links {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs__link {
    font-size: calc(14px + (16 - 14) * ((100vw - 375px) / (1920 - 375)));
    line-height: 1.2;
    font-weight: 500;
    color: #A8A8A8;
}

.breadcrumbs__link span {
    border-bottom: 1px solid #A8A8A8;
}

.breadcrumbs__link:not(:first-child):before {
    content: '—';
    margin: 0 10px;
    color: #A8A8A8;
}

.breadcrumbs__link:last-child span {
    text-decoration: none;
    border-bottom: none;
}

/*  /BREADCRUMBS  */

@media (max-width: 991px) {
    .--only-mobile {
        display: initial;
    }

    .--only-desktop {
        display: none;
    }

    .btn {
        font-size: 16px;
    }

    .header__top-logo {
        width: 100px;
        height: 44px;
    }

    .header__top-content {
        min-width: auto;
    }

    .header__top-city {
        margin-right: 23px;
        font-size: 16px;
    }

    .main {
        padding-top: 60px;
    }

    .footer__wrapper {
        padding: 30px 0;
    }

    .footer__blocks {
        flex-direction: column;
    }

    .footer__block {
        margin-bottom: 30px;
    }

    .footer__block:last-child {
        margin-bottom: 0px;
    }

    .footer__contact-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 33px;
    }

    .footer__logo {
        max-width: 123px;
        margin-bottom: 0px;
    }

    .footer__contact-number {
        align-items: flex-end;
    }

    .footer__contact-number-wrapper {
        margin-bottom: 10px;
    }

    .footer__contact-phone {
        font-size: 20px;
    }

    .footer__contact-link {
        font-size: 16px;
        font-weight: 400;
    }

    .footer__social-text {
        font-size: 16px;
    }

    .footer__social-icon {
        width: 24px;
        height: 24px;
    }

    .footer__link {
        font-size: 16px;
    }

    .footer__link.--privacy {
        margin-bottom: 10px;
    }

    .footer__copyright-text {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer__copyright-link {
        font-size: 16px;
    }

    .footer__copyright {
        text-align: left;
        align-items: flex-start;
    }

    .breadcrumbs__wrapper {
        margin-bottom: 0px;
    }
}
