footer {
    background-color: var(--background-color-second);
    padding: 10px 16px 20px;
    margin-top: 100px;
    position: relative;
}

footer::before {
    content: "";
    top: -70px;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    position: absolute;
    background: linear-gradient(0deg, var(--background-color-second), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Стили для колонок */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.logo-icon {
    width: 42px;
    margin-right: 12px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer-description {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    margin-top: 0;
    margin-left: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.footer-links > li {
    font-size: 14px;
    color: #94a3b8;
}

.footer-links > li.links {
    width: max-content;
    background-color: var(--background-color);
    padding: 6px 8px;
    border-radius: 10px;
    display: flex;
    gap: 8px;
}

.footer-links > li > h4 {
    display: inline;
    color: #94a3b8;
}

.footer-link {
    color: var(--color);
    opacity: 0.6;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.footer-link > i {
    color: var(--color);
    font-size: 16px;
}

.footer-link > i:hover {
    transform: translateY(-3px);
}

.footer-link:hover {
    opacity: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 14px;
}

.contact-icon {
    color: #3b82f6;
    margin-right: 12px;
    margin-top: 2px;
}

/* Нижняя часть футера */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .copyright {
        margin-bottom: 0;
    }
}

.footer-disclaimer {
    opacity: 0.4;
    font-size: 10px;
}

.footer-links-bottom {
    display: flex;
    gap: 24px;
}

.footer-link-bottom,
.copyright {
    color: var(--color);
    font-size: 12px;
    text-decoration: none;
    opacity: 0.6;
}

.copyright {
    opacity: 0.4;
}

.footer-link-bottom:hover {
    opacity: 1;
}