.Footer{
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    background-color: transparent;
}
.Footer--content{
    width: 100%;
    padding: 50px 0;
    display: grid;
    gap: 30px;
}
.Footer--top{
    display: none;
    grid-template-columns: auto 1fr auto;
    justify-items: center;
    align-items: start;
}
.Footer--top-first{
    display: grid;
    gap: 4px;
    justify-items: start;
}
.Footer--logo{
    display: block;
}
.Footer--logo-img-hover,
.Footer--logo-img{
    display: block;
    height: 18px;
    object-position: center;
    object-fit: contain;
}
.Footer--logo-img-hover{
    display: none;
}
.Footer--logo:hover .Footer--logo-img,
.Footer--logo:focus .Footer--logo-img{
    display: none;
}
.Footer--logo:hover .Footer--logo-img-hover,
.Footer--logo:focus .Footer--logo-img-hover{
    display: block;
}

.Footer--copyright{
    font-size: 13px;
    line-height: 15px;
    color: var(--site-color);
}
.Footer--socials{
    display: grid;
    gap: 9px;
    grid-auto-flow: column;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.Footer--socials-item{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: block;
}
.Footer--lang{
    font-weight: bold;
    font-size: 20px;
    line-height: 23px;
    color: var(--site-color);
    text-transform: uppercase;
    text-decoration: none;
    padding-right: 10px;
    background-image: url("../Header/img/lang.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 12px;
}
.Footer--lang:focus,
.Footer--lang:hover{
    color: var(--site-color-corporate);
    background-image: url("../Header/img/lang-hover.svg");
}
.Footer--second{
    display: none;
    gap: 25px 0;
    justify-items: start;
    align-items: start;
}
.Footer--contacts-parent{
    display: grid;
    gap: 10px;
    align-items: center;
    justify-content: start;
    justify-items: start;
}
.Footer--contacts{
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    align-content: center;
}
.Footer--contacts-title, .Footer--contacts-address{
    font-size: 14px;
    line-height: 20px;
    color: var(--site-color);
}
.Footer--contacts-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.Footer--contacts-contact{
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: block;
}
.Footer--contacts-add-info-wrapper{
    display: grid;
    gap: 10px;
    margin-top: 30px;
}
.Footer--contacts-reklama{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.Footer--contacts-reklama-link,
.Footer--contacts-contact-link,
.Footer--contacts-p-offer-link{
    font-weight: bold;
    font-size: 13px;
    line-height: 20px;
    color: var(--site-color);
    text-decoration: none;
    display: block;
}
.Footer--contacts-reklama-link:hover,
.Footer--contacts-reklama-link:focus,
.Footer--contacts-contact-link:focus,
.Footer--contacts-contact-link:hover{
    color: var(--site-color-corporate);
}
a[data-stat="comment-rules"]{
    background-position: 99.5%;
    background-repeat: no-repeat;
    background-size: 15px;
    background-image: url('./reklama.svg');
    padding-right: 20px;
}
.Footer--contacts-reklama-additional{
    display: none;
}
.Footer--contacts-p-offer-wrapper-additional{
    display: grid;
    gap: 10px;
    margin-top: 10px;
}
.Footer--contacts-contact-link--mobile{
    padding-right: 55px;
    background-image: url("../Header/img/whatsapp.svg"), url("../Header/img/telegram.svg");
    background-size: 18px;
    background-position: 100% 50%, calc(100% - 25px);
    background-repeat: no-repeat;
}
.Footer--tags{
    display: grid;
    grid-auto-flow: column;
    padding: 0;
    margin: 0;
    list-style-type: none;
    gap: 10px;
}
.Footer--tag{
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: block;
}
.Footer--tag-link{
    font-weight: bold;
    font-size: 10px;
    line-height: 12px;
    text-transform: uppercase;
    color: var(--site-color);
    text-decoration: none;
    display: block;
}
.Footer--tag-link:hover,
.Footer--tag-link:focus{
    color: var(--site-color-corporate);
}
.Footer--bottom{
    display: grid;
    align-content: start;
    align-items: start;
    justify-items: center;
    justify-content: center;
    gap: 20px 0;
}
.Footer--callCenter{
    font-style: italic;
    font-size: 13px;
    line-height: 15px;
    color: var(--site-color);
    width: 100%;
    max-width: 400px;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
}
.Footer--callCenter-phone{
    text-decoration: none;
    color: var(--site-color);
}
.Footer--callCenter-phone:hover,
.Footer--callCenter-phone:focus{
    color: var(--site-color-corporate);
}
.Footer--counters{
    display: grid;
    gap: 10px;
    justify-content: center;
    justify-items: center;
    align-content: start;
}
.Footer--counter{
    display: grid;
    align-content: start;
}
.Footer--counter a,
.Footer--counter img{
    display: block;
}
.Footer--logo-wrapper{
    display: flex;
    align-items: end;
}
.Footer--age-limit{
    height: 16px;
    margin-left: 20px;
    font-size: 14px;
    font-weight: bold;
}
.Footer--bottom-logo-wrapper,
.Footer--bottom-contacts-wrapper{
    display: none;
}
@media (min-width: 740px){
    .Footer--content{
        width: 720px;
    }
    .Footer--top{
        display: grid;
    }
    .Footer--second{
        display: grid;
    }
    .Footer--bottom{
        grid-template-columns: 1fr auto;
        justify-items: start;
    }
    .Footer--callCenter{
        padding: 0;
        text-align: left;
    }
    .Footer--callCenter-text{
        display: block;
    }
}
@media (min-width: 1240px){
    .Footer--content{
        width: 1220px;
        padding: 50px 0 80px 0;
    }
    .Footer--top{
        grid-template-columns: repeat(12, 1fr);
        justify-items: start;
    }
    .Footer--top-first{
        grid-column: span 6;
    }
    .Footer--socials{
        grid-column: span 5;
    }
    .Footer--lang{
        justify-self: end;
    }
    .Footer--second{
        grid-template-columns: repeat(12, 1fr);
    }
    .Footer--contacts-parent{
        grid-column: span 6;
    }
    .Footer--tags{
        grid-column: span 6;
        grid-auto-flow: row;
    }
    .Footer--bottom{
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 739px){
    .Footer--contacts-reklama-additional{
        display: block;
        margin-bottom: 20px;
    }
    .Footer--contacts-reklama-link-additional {
        font-weight: bold;
        font-size: 14px;
        line-height: 20px;
        color: var(--site-color);
        text-decoration: none;
        position: relative;
    }
    .Footer--bottom-logo-wrapper {
        display: flex;
    }
    .Footer--contacts-reklama-additional a[data-stat="comment-rules"] span{
        position: relative;
    }
    .Footer--contacts-reklama-additional a[data-stat="comment-rules"]{
        padding: 0;
        background-image: none;
    }
    .Footer--contacts-reklama-additional a[data-stat="comment-rules"] span:after{
        content: url("./reklama.svg");
        position: absolute;
        right: -25px;
    }
    .Footer--contacts.Header--contacts--redaction,
    .Footer--contacts.Header--contacts--reklama{
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .Footer--contacts-list{
        flex-direction: column;
    }
    .Footer--bottom-contacts-wrapper{
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    .Footer--contacts-contact-link.Footer--contacts-contact-link--mobile{
        padding: 0;
        background: none;
    }
    .Footer--contacts-contact-link.Footer--contacts-contact-link--mobile::after{
        padding-right: 55px;
        background-image: url(../Header/img/whatsapp.svg), url(../Header/img/telegram.svg);
        content: '';
        background-position: 100% 50%, calc(100% - 25px);
        background-repeat: no-repeat;
        position: absolute;
        height: 18px;
    }
    .Footer--contacts-contact-link{
        font-size: 14px;
    }
}
