.page-footer {
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
}

.page-footer:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    left: 0;
    top: 0;
    background: rgb(214,209,130);
    background: linear-gradient(90deg, rgba(214,209,130,1) 0%, rgba(162,158,82,1) 50%, rgba(125,123,81,1) 100%);
}

.footer-top-first {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo a {
    display: block;
    background: none;
    max-width: 149px;
}

.footer-social ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.footer-social ul li {
    margin: 0 0 0 32px;
    padding: 0;
}

.footer-social ul li a {
    background: none;
    display: flex;
    align-items: center;
    font-size: 25px;
}

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

.footer-top h3 {
    font-size: 20px;
    color: var(--color-secondary-dark);
    line-height: 1.4em;
    font-weight: 500;
    border-bottom: 1px solid var(--color-grey);
}

.footer-address p {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    margin: 0 0 18px 0;
}

.footer-address p a {
    margin-left: 17px;
    border-bottom: 2px solid transparent;
    margin: 6px 0 0 30px;
}

.footer-address a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: none;
    color: var(--color-secondary-dark);
}

.footer-address a i {
    margin-right: 8px;
    font-size: 22px;
}

.footer-address p i {
    margin-right: 8px;
    font-size: 24px;
    position: relative;
    top: 2px;
}

.footer-address > a:not(last-child) {
    margin-bottom: 18px;
}

.footer-links {
    margin-top: 40px;
}

.footer-links ul {
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    padding: 0;
    margin: 0 0 10px 0;
}

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

.footer-links ul li a {
    font-size: 18px;
    color: #333333;
    font-weight: 400;
    background: none;
}

.footer-btns .btn {
    margin: 0;
    width: 100%;
    padding: 14px 30px;
    text-align: center;
}

.footer-btns {
    margin-top: 35px;
}

.footer-btns .btn::after {
    position: relative;
    right: 0;
    margin-left: 10px;
}

.footer-btns .btn + .btn {
    margin-top: 12px;
} 

.back-to-top a {
    font-size: 18px;
    color: var(--color-secondary-dark);
    font-weight: 700;
    width: max-content;
    margin: 25px auto 0;
    display: table;
    background: none;
    padding-right: 28px;
    position: relative;
}

.back-to-top a:after {
    content: "\ea3a";
    font-family: 'ramsey-camp';
    position: absolute;
    font-size: 23px;
    font-weight: normal;
    right: 0;
    top: 0;
}

.footer-bottom-wrapper ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-bottom-wrapper ul li {
    padding: 0;
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--color-primary-dark);
    font-weight: 400;
    line-height: 1em;
}

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

.footer-bottom-wrapper ul li a {
    font-size: 16px;
    color: var(--color-primary-dark);
    font-weight: 400;
    background: none;
    line-height: 1em;
}

.footer-bottom-wrapper ul li:last-child {
    width: 100%;
    text-align: center;
    margin: 0;
}

.footer-bottom {
    padding: 17px 0;
    background-color: #F6F6F3;
    margin-top: 70px;
}


@media(min-width: 768px) {
    .footer-top-first {
        justify-content: center;
        margin-bottom: 40px;
        flex-direction: column;
        width: 260px;
    }

    .footer-social ul li {
        margin: 0 20px;
        padding: 0;
    }

    .footer-logo a {
        margin: 0 0 24px;
        max-width: 260px;
    }

    .footer-address {
        width: 258px;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-links {
        width: 258px;
        margin-top: 18px;
    }

    .footer-btns {
        width: 258px;
        margin-top: 20px;
    }

    .footer-btns .btn {
        width: max-content;
        padding: 14px 52px 14px 30px;
    }

    .footer-btns .btn::after {
        position: absolute;
        right: 26px;
        margin-left: 0;
    }

    .back-to-top a {
        margin: 25px 0 0;
    }

    .footer-links ul li {
        padding: 0;
        margin: 0 0 16px 0;
    }

    .footer-links ul li:last-child {
        margin: 0;
    }

    .footer-top h3 {
        margin-bottom: 15px;
    }

    .footer-bottom-wrapper ul {
        justify-content: center;
    }

    .footer-bottom-wrapper ul li {
        margin: 0 18px;
    }

    .footer-bottom-wrapper ul li:last-child {
        margin: 0 18px;
        width: max-content;
        margin-right: 0;
    }

    .footer-bottom-wrapper ul li:first-child {
        margin-left: 0;
    }

    .footer-bottom {
        padding: 16px 0;
        margin-top: 80px;
    }

    .page-footer {
        padding: 88px 0 0;
    }
   
}

@media(min-width: 1200px) {
    .footer-links {
        margin-top: 0;
        width: 307px;
    }

    .footer-btns {
        margin-top: 0;
        width: 194px;
    }

    .footer-address {
        width: 307px;
        margin-left: 90px;
    }

    .footer-social ul li {
        margin: 0 16px;
    }

    .footer-top-first {
        margin-bottom: 0;
    }

    .footer-bottom {
        margin-top: 100px;
    }

    .back-to-top a:hover,
    .footer-links ul li a:hover,
    .footer-address a:hover,
    .footer-social ul li a:hover {
        color: var(--color-accent);
    }

    .footer-address p a:hover {
        color: var(--color-secondary-dark);
    }

    .page-footer {
        padding: 100px 0 0;
    }
}