/* ==========================================================================
   Site footer — Atomshop
   Palette: brand blue #21409a, accent yellow #ffd333, text #f5f5f5
   Scoped under .site-footer so nothing here leaks into the rest of the site.
   ========================================================================== */

.site-footer {
    position: relative;
    background: #21409a;
    background: linear-gradient(180deg, #21409a 0%, #1a3480 60%, #162c6d 100%);
    color: #f5f5f5;
}

/* Thin accent rule across the top of the footer */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd333 0%, #ffb800 50%, #ffd333 100%);
}

/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */

.site-footer .footer-heading {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-footer .footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: #ffd333;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Link lists
   -------------------------------------------------------------------------- */

.site-footer .footer-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: .65rem;
    color: rgba(245, 245, 245, .82);
    font-size: .9rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-link i {
    margin-right: .5rem;
    color: #ffd333;
    font-size: .8rem;
    opacity: .65;
    transition: opacity .2s ease;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus {
    color: #fff;
    text-decoration: none;
    transform: translateX(3px);
}

.site-footer .footer-link:hover i,
.site-footer .footer-link:focus i {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Get In Touch block
   -------------------------------------------------------------------------- */

.site-footer .footer-about {
    margin-bottom: 1.25rem;
    color: rgba(245, 245, 245, .78);
    font-size: .9rem;
    line-height: 1.65;
}

.site-footer .footer-contact {
    display: flex;
    align-items: flex-start;
    margin-bottom: .7rem;
    color: rgba(245, 245, 245, .88);
    font-size: .9rem;
    line-height: 1.5;
}

.site-footer .footer-contact:last-child {
    margin-bottom: 0;
}

.site-footer .footer-contact i {
    flex: 0 0 auto;
    width: 16px;
    margin-right: .7rem;
    margin-top: .2rem;
    color: #ffd333;
    text-align: center;
}

.site-footer a.footer-contact:hover {
    color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   App badges
   -------------------------------------------------------------------------- */

.site-footer .footer-app {
    background-color: #fff;
    border-radius: 6px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-footer .footer-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
}

/* --------------------------------------------------------------------------
   Social buttons
   -------------------------------------------------------------------------- */

.site-footer .footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: .6rem;
    margin-bottom: .6rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #f5f5f5;
    font-size: .95rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.site-footer .footer-social:hover,
.site-footer .footer-social:focus {
    background: #ffd333;
    border-color: #ffd333;
    color: #21409a;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Bottom bar
   -------------------------------------------------------------------------- */

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.site-footer .footer-copy {
    color: rgba(245, 245, 245, .78);
    font-size: .85rem;
}

.site-footer .footer-copy a {
    color: #ffd333;
    font-weight: 500;
}

.site-footer .footer-copy a:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer .footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .85rem;
}

.site-footer .footer-legal li + li::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 .75rem;
    background: rgba(255, 255, 255, .28);
    vertical-align: -2px;
}

.site-footer .footer-legal a {
    color: rgba(245, 245, 245, .78);
    transition: color .2s ease;
}

.site-footer .footer-legal a:hover {
    color: #ffd333;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
    .site-footer .footer-legal {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .site-footer .footer-heading {
        margin-bottom: 1rem;
        font-size: .85rem;
    }

    .site-footer .footer-link {
        margin-bottom: .55rem;
        font-size: .85rem;
    }

    .site-footer .footer-legal {
        justify-content: center;
    }

    .site-footer .footer-copy {
        margin-bottom: .75rem;
    }
}
