.footer {
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.75));
    color: var(--color-text-primary);
    padding: clamp(48px, 10vw, 72px) 0;
    font-size: 0.95rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: #f8fafc;
}

.footer p {
    line-height: 1.7;
}

.footer a {
    color: rgba(241, 245, 249, 0.92);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer a:hover {
    color: var(--color-accent);
    transform: translateX(3px);
}

.footer-columns {
    display: grid;
    gap: clamp(28px, 5vw, 46px);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-column {
    padding: 0 12px;
}

.footer-menu {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(226, 232, 240, 0.86);
}

.footer-menu a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-accent-alt);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover::before {
    opacity: 1;
}

.social-footer {
    display: flex;
    gap: 18px;
}

.social-footer a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    display: grid;
    place-content: center;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-footer a:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-alt));
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: clamp(32px, 5vw, 48px);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 18px;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.72);
}

.footer-bottom p {
    margin-bottom: 6px;
}

@media (max-width: 640px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-column {
        padding: 0;
    }

    .social-footer {
        justify-content: flex-start;
    }
}