/* ============================================
   FOOTER + BACK-TO-TOP
   ============================================ */
.footer {
    position: relative;
    z-index: 2;
    background: var(--ink);
    color: #fff;
    padding: 2.75rem 0 2rem;
    margin-top: 2rem;
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem 1.4rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
}
.footer-trust svg { color: var(--amber); flex-shrink: 0; }
.footer-trust .flag { font-size: 1rem; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
.footer-brand { display: inline-flex; opacity: 0.95; }
.footer-legal {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 620px;
}
.footer-legal a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 2px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--terracotta); transform: translateY(-3px); }

@media (max-width: 540px) {
    .footer-top { flex-direction: column; gap: 0.7rem; }
}
