/* templates/footer.css */

/* ── Footer ───────────────────────────────── */
.site-footer {
    background: #232323;
    padding: 4.5rem 1.5rem 0;
}

.site-footer__inner {
    max-width: 80rem;
    margin: 0 auto;
}

/* Top grid */
.site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (min-width: 640px)  { .site-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3.5rem; } }

/* Brand */
.site-footer__brand-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.site-footer__brand-logo img  { width: 2rem; height: 2rem; }

.site-footer__brand-logo span {
    font-size: 1rem;
    font-weight: 900;
    color: #f6f5f2;
    letter-spacing: 0.06em;
}

.site-footer__tagline {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.site-footer__reach {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__reach-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__reach-link:hover { color: #d7fe7c; }

/* Column titles */
.site-footer__col-title {
    font-size: 0.5875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.125rem;
}

/* Link lists */
.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.site-footer__links li,
.site-footer__links a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}

.site-footer__links a:hover { color: rgba(255,255,255,0.8); }

.site-footer__location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.site-footer__location svg { flex-shrink: 0; opacity: 0.4; }

.site-footer__cta-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: #d7fe7c !important;
}

.site-footer__cta-link:hover { color: #c8f563 !important; }

/* Bottom bar */
.site-footer__bottom {
    padding: 1.25rem 0 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.site-footer__copy {
    font-size: 0.725rem;
    color: rgba(255,255,255,0.18);
    order: 2;
}

@media (min-width: 768px) { .site-footer__copy { order: unset; } }

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.site-footer__legal a {
    font-size: 0.725rem;
    color: rgba(255,255,255,0.22);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__legal a:hover { color: rgba(255,255,255,0.6); }

.site-footer__sep {
    color: rgba(255,255,255,0.1);
    font-size: 0.75rem;
}

.footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 999px;
    font-size: 0.725rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.footer-back-top svg { transition: transform 0.25s; }
.footer-back-top:hover { border-color: rgba(215,254,124,0.3); color: #d7fe7c; }
.footer-back-top:hover svg { transform: translateY(-3px); }

/* ── Floating Action Buttons ──────────────── */
.floating-actions {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.fab-item { position: relative; }

.fab-tooltip {
    position: absolute;
    right: 3.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: #232323;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 0.625rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #f6f5f2;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px; height: 9px;
    background: #232323;
    border-right: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.07);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.fab-item:hover .fab-tooltip { opacity: 1; }

.fab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem; height: 3rem;
    background: #fff;
    border: 1px solid rgba(35,35,35,0.14);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(35,35,35,0.08), 0 4px 18px rgba(35,35,35,0.09);
    transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s;
}

.fab-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 28px rgba(35,35,35,0.16);
}

.fab-btn svg { width: 1.25rem; height: 1.25rem; }
