/* ============================================================
   FOOTER — Dark navy, clean and authoritative
   ============================================================ */

.footer {
    position: relative;
    width: 100%;
    background: var(--ink);
    overflow: hidden;
}

/* Subtle grid pattern */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Accent glow — bottom right */
.footer::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Container ─────────────────────────────────────────── */
.footer-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
    z-index: 1;
}

/* ── Main content area ─────────────────────────────────── */
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    padding: 4rem 0 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Brand column ────────────────────────────────────── */
.footer-brand { max-width: 380px; }

.footer-logo img {
    width: 148px;
    height: auto;
    margin-bottom: 1.25rem;
    /* Slight brightness boost so logo reads on dark bg */
    filter: brightness(1.15);
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 1.75rem;
}

/* Social icons */
.footer-social { display: flex; gap: 0.75rem; }

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--t);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social a i { font-size: 0.95rem; }

/* ── Links column ────────────────────────────────────── */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 1.25rem;
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-column ul li a,
.footer-links-column ul li span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--t);
    line-height: 1.5;
}

.footer-links-column ul li a:hover {
    color: rgba(255, 255, 255, 0.90);
}

/* ── Copyright strip ─────────────────────────────────── */
.footer-bottom {
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    margin: 0;
}

/* Optional right-side badge in footer bottom */
.footer-bottom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.28);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-container { padding: 0 2rem; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.5rem 0 3rem;
    }

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

    .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .footer-container { padding: 0 1.25rem; }

    .footer-content {
        gap: 2rem;
        padding: 3rem 0 2.5rem;
    }

    .footer-brand { text-align: center; }
    .footer-logo img { margin: 0 auto 1.25rem; }
    .footer-social { justify-content: center; }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem 0;
    }
}

@media (min-width: 1400px) {
    .footer-container { max-width: 1380px; padding: 0 3rem; }
}
