/* Site footer — matches header design tokens */
:root {
    --ftr-navy: #0c2340;
    --ftr-navy-light: #132d4a;
    --ftr-blue: #32699c;
    --ftr-blue-bright: #4a8bc4;
    --ftr-text: rgba(255, 255, 255, 0.78);
    --ftr-text-muted: rgba(255, 255, 255, 0.55);
    --ftr-line: rgba(255, 255, 255, 0.1);
    --ftr-font: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.site-footer {
    font-family: var(--ftr-font);
    background: linear-gradient(165deg, var(--ftr-navy) 0%, #0a1c32 55%, #071525 100%);
    color: var(--ftr-text);
    padding: 56px 0 0;
    font-size: 13px;
    line-height: 1.75;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ftr-blue) 0%, var(--ftr-blue-bright) 50%, var(--ftr-blue) 100%);
}

.site-footer-grid {
    margin-bottom: 8px;
}

.footer-col {
    margin-bottom: 32px;
}

.footer-title {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    padding-bottom: 14px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--ftr-blue-bright);
    border-radius: 2px;
}

.footer-about {
    margin: 0 0 16px;
    color: var(--ftr-text);
    font-size: 13px;
    line-height: 1.85;
}

.footer-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ftr-blue-bright);
    text-decoration: none;
    transition: color 0.25s ease, gap 0.25s ease;
}

.footer-more:hover {
    color: #fff;
    text-decoration: none;
    gap: 10px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 2px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: var(--ftr-text);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a i {
    font-size: 10px;
    color: var(--ftr-blue-bright);
    transition: transform 0.25s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
    text-decoration: none;
}

.footer-links a:hover i {
    transform: translateX(2px);
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--ftr-text);
    font-size: 13px;
    line-height: 1.4;
}

.footer-contact-list li span {
    flex: 1;
    min-width: 0;
}

.footer-contact-list li.footer-contact-nowrap span,
.footer-contact-list li.footer-contact-nowrap a {
    white-space: nowrap;
}

.footer-contact-list li.footer-contact-wrap {
    align-items: flex-start;
}

.footer-contact-list li.footer-contact-wrap i {
    margin-top: 4px;
}

.footer-contact-list li.footer-contact-wrap span {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.75;
}

.footer-contact-list li i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 0;
    text-align: center;
    color: var(--ftr-blue-bright);
    font-size: 13px;
}

.footer-contact-list a {
    color: var(--ftr-text);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-list a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-qr {
    display: inline-block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ftr-line);
    border-radius: 10px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.footer-qr:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-qr img {
    display: block;
    width: 130px;
    height: 130px;
    border-radius: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 0 24px;
    border-top: 1px solid var(--ftr-line);
}

.footer-copyright {
    margin: 0;
    font-size: 12px;
    color: var(--ftr-text-muted);
    line-height: 1.7;
}

.footer-copyright a {
    color: var(--ftr-text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-copyright a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ftr-line);
    color: var(--ftr-text);
    font-size: 14px;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.footer-social-link:hover {
    color: #fff;
    background: var(--ftr-blue);
    border-color: var(--ftr-blue);
    text-decoration: none;
}

/* Override legacy footer styles */
.site-footer .decor-brand {
    display: none;
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}
