/* ============================================
   Footer Magic — Cornmill.online theme
   Dark grey with white/silver accent
   ============================================ */

.fm-footer {
    background: rgba(0, 0, 0, 0.8);
    color: #b3b3b3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 0;
    margin-top: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.fm-footer *,
.fm-footer *::before,
.fm-footer *::after {
    box-sizing: border-box;
}

.fm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.fm-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.fm-footer-section h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.fm-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fm-footer-section li {
    margin-bottom: 0.5rem;
}

.fm-footer-section a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fm-footer-section a:hover {
    color: #ffffff;
}

.fm-footer-section p {
    color: #b3b3b3;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.fm-footer-section p strong {
    color: #ffffff;
    font-weight: 600;
}

.fm-contact-section a {
    color: #b3b3b3;
}

.fm-contact-section a:hover {
    color: #ffffff;
}

.fm-social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.fm-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #b3b3b3;
    transition: all 0.2s ease;
}

.fm-social-links a:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.fm-social-links svg {
    width: 16px;
    height: 16px;
}

.fm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.fm-footer-bottom p {
    margin: 0;
    color: #b3b3b3;
    font-size: 0.875rem;
}

.fm-footer-bottom a {
    color: #b3b3b3;
    text-decoration: underline;
    margin: 0 0.25rem;
    transition: color 0.3s ease;
}

.fm-footer-bottom a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .fm-footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
