:root {
    --footer-bg: #0a0a0a;
    --footer-border: #1e1e1e;
    --footer-border-light: #2a2a2a;
    --footer-accent: #C0392B;
    --footer-accent-dim: rgba(192, 57, 43, 0.12);
    --footer-text: #d4cfc9;
    --footer-muted: #5a5550;
    --footer-heading: #f0ebe4;
}

.site-footer {
    width: 100%;
    background: var(--footer-bg);
    border-top: 2px solid var(--footer-accent);
    position: relative;
    overflow: hidden;
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 350px 130px 130px;
    justify-content: space-between;
    gap: 40px;
}

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--footer-heading);
    letter-spacing: 0.03em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* --- FIXED FOOTER LOGO CSS --- */
.footer-brand-icon-img {
    width: 250px !important; /* Forces readable width */
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    -webkit-transform: translateZ(0); 
}

.footer-branding-text {
    display: flex; flex-direction: column;
}
.footer-branding-text .ns { color: var(--footer-heading); font-size: 16px; line-height: 1; }
.footer-branding-text .nd { color: var(--footer-accent); font-size: 11px; letter-spacing: 1px; line-height: 1; margin-top: 2px; }

.footer-tagline {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    color: var(--footer-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.footer-socials { display: flex; gap: 10px; }

.social-link {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: 1px solid var(--footer-border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-muted);
    text-decoration: none;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-link:hover { 
    border-color: var(--footer-accent); 
    color: var(--footer-accent); 
    background: var(--footer-accent-dim); 
}

/* HARDENED SVG RULES TO STOP MOBILE SCROLL JANK */
.social-link svg { 
    width: 15px !important; 
    height: 15px !important; 
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    fill: currentColor !important; 
    display: block !important;
    flex-shrink: 0 !important;
}

/* Nav columns */
.footer-col-label {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--footer-accent);
    margin-bottom: 24px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0;}

.footer-col ul li a {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover { color: var(--footer-text); }


/* Coverage Bar */
.footer-coverage-bar {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 30px 40px;
    border-top: 1px solid var(--footer-border);
    text-align: center;
}

.footer-coverage-title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--footer-accent);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.coverage-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.coverage-grid a {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--footer-muted);
    text-decoration: none;
    border: 1px solid var(--footer-border-light);
    border-radius: 4px; 
    padding: 8px 16px;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coverage-grid a:hover {
    color: var(--footer-text);
    border-color: var(--footer-accent);
    background: var(--footer-accent-dim);
}

/* Bottom Copyright */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    color: var(--footer-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px;}
    .footer-coverage-bar { padding: 30px 24px; }
    .footer-bottom { padding: 24px; }
    
    /* Shrink footer logo slightly for mobile */
    .footer-brand-icon-img {
        width: 200px !important;
    }
}