@font-face {
    font-family: 'gilroy-bold';
    src: url("../fonts/Gilroy-Bold.eot");
    src: url("../fonts/Gilroy-Bold.woff");
    src: url("../fonts/Gilroy-Bold.ttf")
}

@font-face {
    font-family: 'gilroy-regular';
    font-weight: normal;
    src: url("../fonts/Gilroy-Regular.eot");
    src: url("../fonts/Gilroy-Regular.woff");
    src: url("../fonts/Gilroy-Regular.ttf")
}

.footer {
    background-color: #cce0ff
}

/* === ПЕРЕОПРЕДЕЛЯЕМ БЕЛЫЙ ЦВЕТ ССЫЛОК ДЛЯ ФУТЕРА === */
.footer a,
.footer .footer-services a,
.footer .footer-contacts a,
.footer .footer-contacts-mobile a,
.footer .footer-social .politics a {
    color: #000e11 !important;
}

.footer a:hover,
.footer .footer-services a:hover,
.footer .footer-contacts a:hover,
.footer .footer-contacts-mobile a:hover,
.footer .footer-social .politics a:hover {
    color: #edb638 !important;
}

/* === ЗАМЕНА h3 В ФУТЕРЕ === */
.footer .h3-replacement {
    font-family: 'gilroy-bold';
    font-size: 1.8rem;
    color: #000e11;
    margin-bottom: 5rem;
    display: block
}

.footer .footer-services {
    position: relative;
    width: 100%;
    margin-top: 5rem;
    margin-bottom: 5rem
}

.footer .footer-services a {
    width: 33%;
    display: flex;
    font-family: 'gilroy-regular';
    font-weight: normal;
    text-decoration: none;
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem
}

.footer .footer-contacts {
    margin-top: 5rem;
    margin-bottom: 5rem
}

/* === ЗАМЕНА h4 В КОНТАКТАХ ФУТЕРА === */
.footer .footer-contacts .h4-replacement {
    font-family: 'gilroy-bold';
    font-size: 1.6rem;
    margin: 0;
    color: #000e11;
    margin-bottom: 3rem;
    display: block
}

.footer .footer-contacts-mobile {
    display: none
}

.footer .footer-social {
    padding-top: 3rem;
    padding-bottom: 5rem
}

/* === ЗАМЕНА h4 В ФУТЕРЕ (социальные ссылки) === */
.footer .footer-social .h4-replacement {
    font-family: 'gilroy-regular';
    font-size: 1.4rem;
    font-weight: normal;
    color: #000e11;
    letter-spacing: 1px;
    margin: 0;
    padding-right: 2rem;
    border-right: 1px solid #000e11;
    display: block
}

.footer .footer-social .politics>a:nth-child(even) {
    padding-left: 2rem
}

.footer .footer-social .social {
    width: 100%
}

.footer .footer-social .social svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    transition: all 0.3s
}

.footer .footer-social .social a {
    padding-right: 2rem
}

.footer .footer-social .social a:hover svg {
    fill: #edb638
}

.footer .phone-button {
    position: absolute;
    bottom: 10%;
    right: -25%;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    z-index: 999999;
    filter: drop-shadow(0px 10px 24px rgba(98, 93, 245, 0.35));
    cursor: pointer
}

.footer .phone-button img {
    position: absolute;
    display: block
}

.footer .phone-button .circle {
    width: 10.8rem
}

.footer .phone-button .phone {
    width: 4.95rem
}

.footer .phone-button:hover {
    transform: scale(1.1)
}

@media (max-width: 375px) {
    .footer .h3-replacement {
        font-size: 3.5rem;
        margin-bottom: 5rem
    }
    .footer .footer-services {
        width: 100%
    }
    .footer .footer-services a {
        width: 100%;
        font-size: 2.8rem;
        margin-top: 2rem;
        margin-bottom: 2rem
    }
    .footer .phone-button {
        bottom: -45%;
        right: 6%
    }
    .footer .phone-button .circle {
        width: 10rem
    }
    .footer .phone-button .phone {
        width: 4.5rem
    }
    .footer .footer-contacts {
        margin-top: 3rem
    }
    .footer .footer-contacts .h3-replacement {
        font-family: 'gilroy-bold';
        margin-top: 0;
        font-size: 3.6rem;
        display: block
    }
    .footer .footer-contacts .h4-replacement {
        font-size: 3.2rem;
        color: #000e11;
        display: block
    }
    .footer .footer-social .h4-replacement {
        border: none;
        display: block
    }
    .footer .footer-social .politics>a:nth-child(even) {
        padding-left: 0rem
    }
    .footer .footer-social .politics {
        width: 100%
    }
    .footer .footer-social .politics .h4-replacement {
        font-size: 2.8rem;
        margin-bottom: 2rem;
        display: block
    }
    .footer .footer-social .social {
        width: 100%
    }
    .footer .footer-social .social svg {
        margin-top: 2rem;
        margin-right: 10rem
    }
}

@media (min-width: 376px) and (max-width: 575px) {
    .footer .h3-replacement {
        font-size: 3rem;
        display: block
    }
    .footer .footer-services {
        width: 95vw;
        margin-left: 2.5vw
    }
    .footer .footer-services a {
        width: 50%;
        font-size: 2.3rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem
    }
    .footer .phone-button {
        bottom: 0%;
        right: 10%
    }
    .footer .phone-button .circle {
        width: 8.8rem
    }
    .footer .phone-button .phone {
        width: 3.8rem
    }
    .footer .footer-contacts {
        display: none
    }
    .footer .footer-social .h4-replacement {
        border: none;
        display: block
    }
    .footer .footer-social .politics>a:nth-child(even) {
        padding-left: 0rem
    }
    .footer .footer-social .politics {
        width: 100%
    }
    .footer .footer-social .politics .h4-replacement {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        display: block
    }
    .footer .footer-social .social {
        width: 100%;
        margin-top: -5rem
    }
    .footer .footer-social .footer-contacts-mobile {
        display: block;
        margin-bottom: 8rem
    }
    .footer .footer-social .footer-contacts-mobile .h3-replacement {
        font-family: 'gilroy-bold';
        display: block
    }
    .footer .footer-social .footer-contacts-mobile .h4-replacement {
        font-family: 'gilroy-bold';
        font-size: 2.4rem;
        margin: 0;
        color: #000e11;
        margin-bottom: 3rem;
        display: block
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .footer .h3-replacement {
        font-size: 2.5rem;
        display: block
    }
    .footer .footer-services {
        width: 100%
    }
    .footer .footer-services a {
        width: 48%;
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem
    }
    .footer .phone-button {
        top: 90%;
        right: 5%
    }
    .footer .footer-contacts {
        display: none
    }
    .footer .footer-contacts .h4-replacement {
        font-size: 2.2rem;
        display: block
    }
    .footer .footer-contacts-mobile {
        display: block;
        margin-bottom: 8rem
    }
    .footer .footer-contacts-mobile .h3-replacement {
        font-family: 'gilroy-bold';
        display: block
    }
    .footer .footer-contacts-mobile .h4-replacement {
        font-family: 'gilroy-bold';
        font-size: 2.4rem;
        margin: 0;
        color: #000e11;
        margin-bottom: 3rem;
        display: block
    }
    .footer .footer-social .h4-replacement {
        font-size: 2rem;
        border: none;
        display: block
    }
    .footer .footer-social .politics {
        margin-top: -8rem
    }
    .footer .footer-social .politics .h4-replacement {
        margin-bottom: 4rem;
        display: block
    }
    .footer .footer-social .politics>a:nth-child(even) {
        padding-left: 0rem
    }
    .footer .footer-social .social {
        margin-top: -10rem
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer .h3-replacement {
        font-size: 2.2rem;
        display: block
    }
    .footer .footer-services a {
        width: 50%;
        font-size: 1.8rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem
    }
    .footer .phone-button {
        top: 30%;
        right: -25%
    }
    .footer .footer-contacts .h4-replacement {
        font-size: 2rem;
        display: block
    }
    .footer .footer-social .h4-replacement {
        font-size: 1.6rem;
        display: block
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .footer .h3-replacement {
        font-size: 2rem;
        display: block
    }
    .footer .footer-services a {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem
    }
    .footer .footer-social .h4-replacement {
        font-size: 1.6rem;
        display: block
    }
}