.main-footer {
    height: auto !important;
    min-height: 0 !important;
    position: relative;
    overflow: hidden;
    background: var(--grad-footer);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    border: var(--bordo-all);
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 95%;
    margin: 0 auto;
    padding-bottom: 5px;
    border-bottom: 1px solid #444;
}

.footer-col {
    flex: 1 1 0px;
    min-width: 0px;
}

.footer-col h3 {
    margin-bottom: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-main);
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin: 0;
}

.col-left {
    text-align: left;
}

.col-center {
    text-align: center;
}

.col-right {
    text-align: right;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-icons a {
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: var(--link-over);
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-main);
}

.footer-bottom a {
    color: var(--text-main);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--link-over);
    text-decoration: underline;
}

.footer-top a:hover {
    color: var(--link-over) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #ffffff;
}

.undersvg {
    display: inline-block;
    color: #444;
    width: 32px;
    transition: all 0.3s ease;
}

.undersvg:hover {
    color: #1877F2;
    transform: translateY(-3px);
}

.undersvg svg {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 10px 0;
    }

    .footer-col {
        width: 100%;
        min-width: 100%;
    }

    .col-left,
    .col-center,
    .col-right {
        text-align: center;
    }

    .footer-col h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .footer-col p {
        font-size: 0.95rem;
    }

    .social-icons {
        margin-top: 10px;
        gap: 1.5rem;
    }

    .main-footer {
        padding: 10px 15px;
    }
}