/* ========================================
   PREMIUM "WOW" FOOTER
   ======================================== */

.footer {
    background: #000;
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body, 'Inter', sans-serif);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Subtle Animated Background Texture */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Red Glow Accent */
.footer::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* --- Top CTA Section --- */
.footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-cta h2 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    padding-top: 0.2em;
    letter-spacing: -2px;
}

.footer-cta p {
    font-size: 1.25rem;
    color: #888;
    max-width: 500px;
}

/* --- Bento Grid Layout --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }

    .footer-brand p {
        max-width: 80%;
        margin: 0 auto;
    }

    .social-buttons {
        justify-content: center;
    }

    /* Target the Contact column (last child) to be full width */
    .footer-grid>.footer-col:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    /* Center contact items on mobile */
    .contact-item {
        align-items: center;
    }
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Column Headers */
.footer-col h4 {
    color: #444;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Links & Pills */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    width: fit-content;
    transition: color 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #DC2626;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-link:hover::after {
    width: 100%;
}

/* Contact Specifics */
.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}

.contact-label {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-value:hover {
    color: #DC2626;
}

/* Social Buttons (Magnetic Effect Visual) */
.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    background: #DC2626;
    border-color: #DC2626;
    transform: translateY(-5px) scale(1.1);
}

/* --- Bottom Bar --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #555;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.legal-link:hover {
    color: #fff;
}

/* Utility: Highlighting specific words */
.highlight-red {
    color: #DC2626;
}