.page-footer {
    background: var(--black);
    color: var(--white);
}

.footer-top {
    padding: 64px 0;
}

.footer-logo a {
    display: table;
    margin: 0 auto;
    width: 271px;
}

.footer-logo {
    margin: 0 0 32px;
}

.footer-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.page-footer ul,
.page-footer ul li {
    padding: 0;
    margin: 0;
}

.page-footer ul li:before {
    display: none;
}

.footer-btns ul li a {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 20px;
    text-decoration: none;
}

.footer-location p {
    margin: 0 0 15px;
}

.footer-location {
    margin: 32px 0;
    text-align: center;
}

.footer-location h4 {
    text-transform: none;
}

.footer-location .btn {
    color: var(--white);
    border-bottom: 2px solid var(--white);
}

.footer-info ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    align-items: center;
    justify-content: center;
    text-indent: 0;
}

.footer-info ul li {
    text-indent: 0;
}

.footer-info ul li a {
    color: var(--white);
    border: none;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-info ul li a i {
    font-size: 18px;
    color: var(--orange);
    font-weight: normal;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;

    li {
        text-indent: 0;
    }
}

.footer-links ul li a {
    color: var(--white);
    border: none;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    margin: 32px 0 0;
}

.footer-bottom p {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: var(--white);
}

.footer-bottom {
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex-wrap: wrap;
}

.footer-btns ul li {
    text-indent: 0;
}

.footer-watermark {
    width: 100%;
    
    img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    .footer-watermark {
        max-width: 500px;
        margin: 30px auto 0;
        padding: 0 32px;
    }
}

@media(min-width: 768px) {
    .footer-top__flex {
        display: flex;
        flex-wrap: wrap;
        gap: 64px 50px;
        align-items: flex-start;
    }

    .footer-logo a {
        margin: 0;
        width: 315px;
    }

    .footer-btns {
        justify-content: flex-end;
    }

    .footer-location {
        margin: 0 0 32px;
        text-align: left;
    }

    .footer-links {
        margin: 0;
        width: 100%;
        max-width: 400px;
        gap: 40px 90px;
        flex-direction: row;
    }

    .footer-links ul li a {
        justify-content: flex-start;
    }

    .footer-links-col {
        width: auto;
    }

    .footer-links-col:last-child {
        width: 200px;
    }

    .footer-links ul {
        align-items: flex-start;
    }

    .footer-bottom p {
        text-align: left;
    }

    .footer-info ul {
        align-items: flex-start;
    }
}

@media(min-width: 1200px) {
    .footer-logo a {
        width: 293px;
    }

    .footer-links {
        width: auto;
        gap: 36px;
    }

    .footer-links-col,
    .footer-links-col:last-child {
        width: 131px;
    }

    .footer-location {
        margin: 0;
    }

    .footer-top__flex {
        gap: 0;
        justify-content: space-between;
        padding: 0 32px;
    }

    .footer-top {
        padding: 96px 0 78px;
    }

    .footer-bottom p {
        padding: 0 32px
    }

    .footer-location .btn:hover {
        border-color: var(--orange);
        color: var(--orange);
    }

    .footer-btns ul li a:hover {
        background-color: var(--orange);
    }

    .footer-info ul li a:hover,
    .footer-links ul li a:hover {
        color: var(--orange);
    }

    .footer-info {
        padding-right: 40px;
    }
}

.footer-bottom__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom__row p {
    margin-bottom: 0;
}

.footer-bottom__row .btn-tertiary {
    color: var(--white);
}

.footer-bottom__row .btn-tertiary:after {
    transform: translate(0,-50%) rotate(-90deg);
}

@media (min-width: 1200px) {
    .footer-bottom__row .btn-tertiary:hover {
        padding-right: 40px;
    }
}

@media (max-width: 767px) {
    .footer-bottom__row {
        flex-direction: column;
        justify-content: center;        
    }

    .footer-bottom__row .btn-tertiary {
        position: relative;
        top: 8px;
        margin-top: 30px;
        margin-bottom: 20px;
        border-color: var(--white);
    }

    .footer-bottom__row .btn-tertiary:after {
        right: 5px;
    }
}