/* =========================================
   FOOTER - Mobile-First (011-ui-mobile 007)
   ========================================= */

.base-footer {
    border-top: 1px solid var(--color-border);
    padding: 2.75rem 20px 1.5rem;
    background: linear-gradient(180deg, rgba(10, 102, 194, 0.045) 0%, rgba(10, 102, 194, 0.015) 42%, var(--color-background) 100%);
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .base-footer {
        padding: 3rem 40px 1.75rem;
    }
}

@media (min-width: 1024px) {
    .base-footer {
        padding: 3.25rem 60px 2rem;
    }
}

.base-footer-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    text-align: center;
}

@media (min-width: 600px) {
    .base-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem 2.5rem;
        justify-items: start;
        text-align: left;
    }

    .base-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .base-footer-grid {
        grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr));
        gap: 2rem 3rem;
        align-items: start;
    }

    .base-footer-brand {
        grid-column: auto;
    }
}

.base-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 320px;
}

@media (min-width: 600px) {
    .base-footer-brand {
        align-items: flex-start;
        max-width: none;
    }
}

.base-footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
    transition: opacity 0.2s ease;
}

.base-footer-brand-link:hover {
    opacity: 0.92;
}

.base-footer-brand-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(10, 102, 194, 0.2));
}

.base-footer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
    line-height: 1.1;
}

.base-footer-brand-name {
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-image: linear-gradient(135deg, #1590E0 0%, #0A66C2 52%, #004182 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.base-footer-brand-suffix {
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-headline-page-muted);
}

.base-footer-links-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.base-footer .base-headline-h4 {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-headline-page-muted);
    margin-bottom: 0.875rem;
}

.base-footer-bottom {
    max-width: 1600px;
    margin: 2.5rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-headline-page-muted);
    font-size: var(--font-size-sm);
}

.base-footer-bottom .base-content-text-small {
    margin-bottom: 0;
    color: inherit;
    line-height: 1.5;
}

@media (max-width: 575px) {
    .base-footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.base-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
}

@media (max-width: 575px) {
    .base-footer-legal-links {
        justify-content: center;
    }
}
