/* footer, footer badges, footer mobile rules */
/* ==========================================
   FOOTER
========================================== */

.site-footer,
footer {
    background: linear-gradient(180deg,
            #ffffff 0%,
            #fffaf6 35%,
            #fff4ea 100%);

    border-top: 1px solid rgba(189, 54, 64, 0.08);

    color: #555;
    font-size: 0.95rem;
    padding: 2rem 0 1.5rem;
    text-align: center;
}

.site-footer p,
footer p {
    margin: 0.15rem 0;
    color: #5b667a;
}

/* ==========================================
   FOOTER SOCIAL ICONS
========================================== */

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0;
}

.footer-social a {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    font-size: 1.45rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.footer-social-icon {
    width: 1em;
    height: 1em;
    display: block;
    fill: var(--lh-red);
}

.footer-social a:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 14px 30px rgba(189, 54, 64, 0.25);
}

/* ==========================================
DESKTOP SOCIAL POSITION
========================================== */

@media (min-width: 992px) {

    .site-footer .container,
    footer .container {
        position: relative;
    }

    .footer-social {
        position: absolute;
        left: 1.5rem;
        bottom: 0.65rem;

        justify-content: flex-start;
        margin-bottom: 0;
    }
}



/* ==========================================
   FOOTER TRUST BADGES
========================================== */

.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #173b57;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-badges i,
.footer-heart {
    background: linear-gradient(135deg,
            var(--lh-red),
            var(--lh-red-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.footer-badges i {
    font-size: 1.1rem;
}

.footer-heart {
    margin-left: 0.3rem;
    font-size: 1rem;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .site-footer,
    footer {
        padding: 1.75rem 1rem 1.35rem;
    }

    .footer-social {
        gap: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .footer-social a {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }

    .footer-badges {
        flex-direction: column;
        gap: 0.7rem;
        font-size: 0.92rem;
    }
}

/* ==========================================
   FOOTER LEGAL LINKS
========================================== */

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    margin: 0.85rem 0 0.25rem;
    font-size: 0.84rem;
}

.footer-legal-links a {
    color: #5f6473;
    text-decoration: none;
    font-weight: 600;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: #173b57;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal-links span {
    color: rgba(95, 100, 115, 0.45);
    user-select: none;
}

@media (max-width: 768px) {

    .footer-legal-links {
        gap: 0.35rem 0.55rem;
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

.footer-divider {
    max-width: 220px;
    margin: 1.2rem auto 1rem;
    opacity: .15;
}

.footer-credit {
    font-size: 0.82rem;
    color: #5f6473;
    letter-spacing: .25px;
}

.footer-credit strong {
    color: #2d3748;
    font-weight: 600;
}