.footer-social .social-link img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .footer-social .social-link img {
        width: 26px;
        height: 26px;
    }
}

.error-page-with-footer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.error-page-with-footer > main {
    margin: 72px auto;
}

.error-page-with-footer .footer {
    width: 100%;
    padding: 80px 40px 40px;
    background: var(--bg-secondary, #111);
    border-top: 1px solid var(--border, #2a2a2a);
    color: var(--text-primary, #fff);
}

.error-page-with-footer .footer-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.error-page-with-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    text-align: left;
}

.error-page-with-footer .footer .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: max-content;
    min-height: 0;
    padding: 0;
    border: 0;
}

.error-page-with-footer .footer .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #000;
    background: linear-gradient(135deg, #f5a623 0%, #e67e22 100%);
    border-radius: 12px;
    font: 900 20px/1 'Oswald', sans-serif;
}

.error-page-with-footer .footer .logo-text {
    color: #fff;
    font: 700 24px/1 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.error-page-with-footer .footer .logo-text span {
    color: #f5a623;
}

.error-page-with-footer .footer-brand p {
    max-width: none;
    margin: 0 0 24px;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.8;
}

.error-page-with-footer .footer-social {
    display: flex;
    gap: 12px;
}

.error-page-with-footer .footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 0;
    padding: 0;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

.error-page-with-footer .footer-column h4 {
    margin: 0 0 24px;
    font: 600 16px/1.2 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.error-page-with-footer .footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.error-page-with-footer .footer-column li {
    margin-bottom: 12px;
}

.error-page-with-footer .footer-column a {
    display: inline;
    min-height: 0;
    padding: 0;
    color: #a0a0a0;
    border: 0;
    font-size: 14px;
    font-weight: 400;
}

.error-page-with-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    color: #666;
    border-top: 1px solid #2a2a2a;
    font-size: 13px;
}

@media (max-width: 992px) {
    .error-page-with-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .error-page-with-footer > main {
        width: calc(100% - 32px);
        margin: 40px auto;
    }

    .error-page-with-footer .footer {
        padding: 48px 16px 24px;
    }

    .error-page-with-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .error-page-with-footer .footer-social {
        justify-content: center;
    }

    .error-page-with-footer .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
