/* Unified Style: Footer (Surface-50) */
.main-footer {
    background: var(--surface-50);
    color: var(--text-main);
    padding-top: 2.5rem;
    border-top: 1px solid var(--surface-200);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    padding-right: 2rem;
}

.brand-info h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-600);
    margin-bottom: 0.75rem;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--surface-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social-item:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
    transform: translateY(-2px);
}

.footer-section h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-section a {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-row i {
    color: var(--primary-500);
    margin-top: 0.2rem;
}

.bottom-info {
    background: white;
    border-top: 1px solid var(--surface-200);
    padding: 1.5rem 0;
}

.bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.certification-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-600);
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 3;
        text-align: center;
        padding-right: 0;
        align-items: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .contact-row {
        justify-content: center;
    }
    
    .bottom-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}