/* ============================================================
   Site Footer â€?é­”åŠ›æŒ‡æ•° 3-col dark footer
   Shared across ALL pages (enqueued globally, like nav.css)
   ============================================================ */

.site-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 64px var(--gutter) 32px;
}
.site-footer-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-700);
}

/* --- Brand column --- */
.footer-col-brand {
    display: block;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    border-bottom: none;
}
.footer-brand:hover { color: var(--white); border-color: transparent; }
.footer-brand .footer-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}
.footer-brand-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 44px; height: 44px;
    background: var(--gray-800);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-700);
    transition: all var(--t-fast);
    overflow: hidden;
    text-decoration: none;
    border-bottom: none;
}
.footer-socials a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform var(--t-fast);
}
.footer-socials a:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    transform: translateY(-2px);
}
.footer-socials a:hover img { transform: scale(1.1); }

/* --- Standard nav columns --- */
.footer-col h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-col ul li {
    padding: 4px 0;
}
.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--t-fast);
    border: none;
}
.footer-col ul li a:hover { color: var(--white); }

/* --- CTA column (å¼€å§‹æ£€æµ? --- */
.footer-col-desc {
    color: var(--gray-400);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 0 0 14px;
    max-width: 260px;
}
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--primary-600);
    color: var(--white);
    border: 1px solid var(--primary-600);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--t-fast);
}
.footer-cta-btn:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
    transform: translateY(-1px);
}
.footer-cta-btn svg { transition: transform var(--t-fast); }
.footer-cta-btn:hover svg { transform: translateX(2px); }

/* --- QR code block --- */
.footer-qr-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--gray-700);
}
.footer-qr {
    background: var(--white);
    padding: 6px;
    border-radius: var(--radius);
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--gray-700);
}
.footer-qr-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 32px auto 0;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.8125rem;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
}
.footer-bottom a { color: var(--gray-400); border-color: var(--gray-700); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .sep { color: var(--gray-700); margin: 0 8px; }

/* Responsive */
@media (max-width: 1024px) {
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
    .site-footer { padding: 48px var(--gutter) 24px; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 24px; }
    .footer-cta-btn { width: 100%; justify-content: center; }
}
