/* ==========================================================================
   Footer
   ========================================================================== */

.page-footer {
    background: #021B3F;
    padding: 60px 0 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* ---------- Footer Top: Main Content Area ---------- */

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.footer-top h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 8px;
}

/* -- Brand Column (Logo + Social) -- */

.footer-top__brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo__img {
    max-width: 200px;
    height: auto;
    display: block;
}

.footer-social {
    margin-top: 0;
}

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

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

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

.footer-social ul li a {
    font-size: 33px;
    color: #d4af37;
}

/* -- Locations Column (Addresses + Review Links) -- */

.footer-top__locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* -- Contact Column (Phone, Contact Us) -- */

.footer-top__contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* -- CTA Column (Book Now + Certificates) -- */

.footer-top__cta {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
}

/* -- Shared Link Column Styles -- */

.footer-link-col ul {
    padding: 0;
    margin: 0;
    gap: 11px;
    display: flex;
    flex-wrap: wrap;
}

.footer-link-col ul li {
    padding: 0;
    margin: 0;
    width: 100%;
}

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

.footer-link-col ul li a {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    line-height: 1.4375em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 22px;
    max-width: 270px;
}

.footer-link-col ul li a i {
    margin-right: 5px;
    font-size: 16px;
    color: #d4af37;
    position: absolute;
    left: 0;
    top: 4px;
    z-index: 1;
}

.footer-link-col--info h3 {
    margin: 0 0 10px;
}

.footer-link-col ul li a i.icon-pin {
    font-size: 15px;
}

.footer-link-col ul li a i.icon-pin:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 8px;
    height: 8px;
    border-radius: 10px;
    background-color: #fff;
    z-index: -1;
}

/* -- Review Location Links -- */

.footer-review-location .footer-review-location__item + .footer-review-location__item {
    margin-top: 10px;
}

.footer-review-location .footer-review-location__item > a {
    color: #fff;
    position: relative;
    padding-right: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background-size .3s ease, color .3s ease;
}

.footer-review-location .footer-review-location__item > a::after {
    content: '\e913';
    font-family: 'hales-icon';
    position: absolute;
    top: 50%;
    right: 0;
    font-size: 11px;
    font-weight: 400;
    transform: translate(0, -50%);
    line-height: 1em;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #d4af37;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: #FFF;
    transition: all ease-in-out 0.2s;
}

.footer-review-location .footer-review-location__item > a:hover {
    font-weight: 400;
    color: #d4af37;
}

/* -- Certificate Badges -- */

.footer-certificate {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-certificate img {
    max-width: 90px;
    height: auto;
}

/* ---------- Footer Bottom Bar ---------- */

.footer-bottom {
    margin: 50px 0 0;
    padding: 20px 0;
    background: #011635;
    position: relative;
    z-index: 1;
}

.footer-bottom__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.footer-bottom__wrapper ul {
    padding: 0;
    margin: 0;
    gap: 14px 35px;
    display: flex;
    flex-wrap: wrap;
}

.footer-bottom__wrapper ul li {
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    line-height: 1.4375em;
}

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

.footer-bottom__wrapper ul li a {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    line-height: 1.4375em;
}

.footer-bottom__wrapper ul li a:hover {
    color: #d4af37;
    text-shadow: none;
}

/* -- Back to Top -- */

.back-to-top a {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.back-to-top a i {
    width: 21px;
    height: 21px;
    background: #d4af37;
    color: #fff;
    font-size: 11px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -- Decorative Background Icon -- */

.footer-right-bg-icon {
    position: absolute;
    right: -40px;
    bottom: 40px;
    z-index: 0;
    opacity: 0.12;
    max-width: 400px;
}

/* ---------- Contact Page Override ---------- */

.half-form-text--contact+.page-footer {
    padding-top: 60px;
}

/* ==========================================================================
   Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {
    .page-footer {
        padding: 70px 0 0;
    }

    .footer-top {
        display: grid !important;
        grid-template-columns: 200px 1fr;
        gap: 30px 50px;
        align-items: start;
    }

    .footer-top__locations {
        grid-column: 1 / -1;
    }

    .footer-top__contact {
        grid-column: 1 / -1;
    }

    .footer-top__cta {
        grid-column: 1 / -1;
    }

    .footer-logo__img {
        max-width: 200px;
    }

    .footer-certificate img {
        width: 100px;
        height: 100px;
        max-width: unset;
        object-fit: contain;
    }

    .half-form-text--contact+.page-footer {
        padding-top: 92px;
    }
}

/* ==========================================================================
   Desktop (1200px+)
   ========================================================================== */

@media (min-width: 1200px) {
    .page-footer {
        padding: 55px 0 0;
    }

    .footer-top {
        grid-template-columns: 200px 1fr auto auto !important;
        gap: 20px 50px;
    }

    .footer-top__locations {
        grid-column: auto;
    }

    .footer-top__contact {
        grid-column: auto;
    }

    .footer-top__cta {
        grid-column: auto;
        align-items: flex-end;
    }

    .footer-certificate {
        gap: 12px;
    }

    .footer-certificate img {
        width: 90px;
        height: 90px;
    }

    .footer-bottom {
        margin: 40px 0 0;
    }

    .footer-bottom__wrapper ul {
        gap: 0 40px;
    }

    .back-to-top a:hover,
    .footer-bottom__wrapper ul li a:hover {
        color: #d4af37;
        text-shadow: none;
    }

    .footer-link-col ul li a:hover,
    .footer-social ul li a:hover {
        color: #d4af37;
    }

    .footer-right-bg-icon {
        right: 0;
        bottom: 40px;
    }

    .half-form-text--contact+.page-footer {
        padding-top: 79px;
    }
}
