/* =============================================================================
   FOOTER.CSS
   Dark footer for contact and route summary.
   ============================================================================= */

.footer-root {
    margin-top: var(--section-spacing);
    background: var(--navy);
    color: var(--text-on-dark);
}

.footer-inner,
.footer-bottom {
    width: min(1400px, calc(100% - 96px));
    margin: 0 auto;
}

.footer-inner {
    padding: 48px 0 36px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-tagline {
    margin-top: 12px;
    max-width: 440px;
    color: var(--text-on-dark-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    color: var(--text-on-dark-soft);
    font-size: 0.88rem;
}

.footer-contact a:hover,
.footer-link:hover {
    color: #ffffff;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px 28px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-on-dark-soft);
    font-size: 0.92rem;
    font-weight: 500;
}

.footer-social-link .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    color: #ffffff;
    background: rgba(0, 102, 255, 0.14);
}

.footer-social-link .social-icon svg {
    width: 14px;
    height: 14px;
}

.footer-bottom {
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.83rem;
}

@media (max-width: 1024px) {
    .footer-inner,
    .footer-bottom {
        width: calc(100% - 48px);
    }
}

@media (max-width: 768px) {
    .footer-inner,
    .footer-bottom {
        width: calc(100% - 32px);
    }

    .footer-inner {
        padding: 40px 0 28px;
        flex-direction: column;
        gap: 28px;
    }

    .footer-right {
        align-items: flex-start;
    }

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

    .footer-contact {
        flex-direction: column;
        gap: 8px;
    }
}
