/* ============================================================================
   SITE FOOTER — shared across every page (Shopify-style, dark).
   Loaded via a <link> in each page head, like tokens.css, so the shared
   footer partial looks identical everywhere regardless of Vite vs static CSS.
   ============================================================================ */
.site-footer {
    background: var(--dark);
    color: #e5e9f0;
    padding: 68px 0 30px;
}

.site-footer .container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 44px 40px;
}

/* Brand column */
.footer-brand {
    flex: 1 1 300px;
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.footer-logo img {
    max-height: 44px;
    width: auto;
}

.footer-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
}

.footer-logo-text strong {
    display: block;
    font-size: 15px;
    line-height: 1.2;
}

.footer-logo-text span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand > p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.66);
    max-width: 42ch;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.footer-social img {
    opacity: 0.9;
}

.footer-partner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
}

/* Link columns */
.footer-col {
    flex: 1 1 150px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 11px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.66);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

/* Offices / NAP */
.footer-offices {
    flex: 1 1 240px;
}

.footer-offices ul {
    gap: 16px;
}

.footer-offices li {
    display: grid;
    gap: 3px;
}

.footer-offices strong {
    font-size: 13px;
    color: #fff;
}

.footer-offices span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.5;
}

.footer-offices a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.66);
}

.footer-offices a:hover {
    color: var(--primary);
}

/* Bottom bar */
.footer-bottom {
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
}

@media (max-width: 760px) {
    .site-footer {
        padding: 52px 0 26px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
