.footer {
    background-color: var(--background);
    padding: 0;
    margin-top: auto;
}

.footer-main {
    display: flex;
    align-items: stretch;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    margin: 0 40px;
}

.footer-left {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    border-right: 2px solid var(--primary);
}

.footer-vector {
    max-width: 140px;
    height: auto;
}

.footer-center {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    border-right: 2px solid var(--primary);
}

.footer-right {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.footer-right-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.footer-logo {
    max-width: 450px;
    height: auto;
}

.footer-info {
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-bottom: 2px solid var(--primary);
    margin: 0 40px;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
}

.footer-info-item {
    padding: 8px 20px;
    border-right: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.footer-info-item:last-child {
    border-right: none;
}

.footer-info-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info-item a:hover {
    color: var(--accent);
}

.footer-info-description {
    padding: 3px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 4px;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--primary);
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent);
}

.footer-social svg {
    width: 13px;
    height: 13px;
    fill: var(--background);
}

.footer-social-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

.footer-social-title {
    font-size: 25px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.footer-social-links a {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-links a:hover {
    color: var(--accent);
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.7;
    padding: 20px 40px;
}

.footer-copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--accent);
}

@media (max-width: 1200px) {
    .footer-main {
        margin: 0 20px;
    }

    .footer-info {
        margin: 0 20px;
        flex-wrap: wrap;
    }

    .footer-info-item,
    .footer-info-description {
        border-right: none;
        border-bottom: 2px solid var(--primary);
        width: 100%;
    }

    .footer-info-item:last-child,
    .footer-social {
        border-bottom: none;
    }

    .footer-copyright {
        padding: 20px;
    }

    .footer-logo {
        max-width: 300px;
    }

    .footer-info {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
    }

    .footer-left {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--primary);
        padding: 40px 20px;
    }

    .footer-center {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--primary);
        padding: 40px 20px;
    }

    .footer-right {
        width: 100%;
        padding: 40px 20px;
    }

    .footer-info {
        border-bottom: none;
    }

    .footer-vector {
        max-width: 100px;
    }

    .footer-logo {
        max-width: 300px;
    }
}
