/* ==========================================================
   E-DIGIT SYSTEMS — PROFESSIONAL FOOTER
   Borrowed principles: strong hierarchy, brand banding,
   restrained contrast, clear contact area, compact bottom bar.
   ========================================================== */

.site-footer {
    color: #dfe8f2;
    background: #06172d;
}

/* Main content area */
.footer-primary {
    padding: clamp(3.25rem, 6vw, 5rem) 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(25,194,222,.08), transparent 18rem),
        linear-gradient(135deg, #06172d 0%, #081f3d 58%, #12365c 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(150px, .65fr)) minmax(220px, .9fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

/* Brand */
.footer-brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.footer-logo {
    width: 58px;
    height: 58px;
    padding: .28rem;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.footer-brand-block h2 {
    margin: 0;
    color: #fff;
    font-size: 1.22rem;
    font-weight: 800;
}

.footer-brand-kicker {
    margin: .28rem 0 0;
    color: #9beeff;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-copy {
    max-width: 460px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: .92rem;
    line-height: 1.8;
}

/* Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: .62rem;
}

.footer-column h3 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    line-height: 1.55;
    text-decoration: none;
}

.footer-column a {
    width: fit-content;
    text-underline-offset: 3px;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #fff;
    transform: translateX(2px);
}

.footer-column a:focus-visible,
.footer-consult-link:focus-visible {
    outline: 3px solid rgba(25,194,222,.45);
    outline-offset: 3px;
    border-radius: 6px;
}

.footer-contact a,
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
}

.footer-contact i {
    margin-top: .18rem;
    color: #9beeff;
}

/* Brand accent band inspired by strong institutional footers */
.footer-accent-band {
    background: #800020;
}

.footer-accent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.footer-accent-inner > div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .75rem;
}

.footer-accent-label {
    color: rgba(255,255,255,.68);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.footer-accent-inner strong {
    color: #fff;
    font-size: .96rem;
    font-weight: 700;
}

.footer-consult-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    flex: 0 0 auto;
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-consult-link:hover {
    color: #fff;
}

.footer-consult-link i {
    transition: transform 180ms ease;
}

.footer-consult-link:hover i {
    transform: translateX(4px);
}

/* Bottom bar */
.footer-bottom {
    background: #030d1b;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer-bottom small {
    color: rgba(255,255,255,.58);
    font-size: .78rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767.98px) {
    .footer-accent-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .footer-primary {
        padding: 2.75rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-brand-lockup {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-column a,
    .footer-consult-link i {
        transition: none;
    }
}
