/* ==========================================================================
   Footer — New Design
   ========================================================================== */

.footer {
    background: var(--dark);
    border-top: 1px solid rgba(250, 202, 120, 0.06);
    padding: 60px 0 30px;
}

.footer .container {
    max-width: clamp(30rem, 80vw, 90rem);
    margin: 0 auto;
    padding: 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    flex: 2 1 0;
}

.footer-col {
    flex: 1 1 0;
}

/* Brand column */
.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo img {
    height: 100px;
    width: auto;
}

.footer-brand p {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}

/* Social links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.social-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Footer columns */
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(250, 202, 120, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--light-gray);
    letter-spacing: 1px;
}

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

.footer-legal a {
    font-size: 12px;
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ============================================
   RESPONSIVE — Footer
   ============================================ */
@media (max-width: 1024px) {
    .footer-brand {
        flex-basis: 100%;
    }

    .footer-col {
        flex: 1 1 160px;
    }

    .footer-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer .container {
        max-width: clamp(10rem, 90vw, 90rem);
        padding: 0;
    }

    .footer-grid {
        justify-content: center;
        text-align: center;
        gap: 32px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col ul {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ============================================
   Accessibility
   ============================================ */
.social-link:focus-visible,
.footer-col a:focus-visible,
.footer-legal a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-col a,
    .footer-legal a {
        transition: none;
    }
}