.footer {
    background:
        radial-gradient(circle at top left, rgba(63, 120, 255, 0.16), transparent 26%),
        linear-gradient(180deg, #020814 0%, #071425 48%, #020814 100%);
    color: #fff;
    padding: 4rem 1.25rem 2rem;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 1.25rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(8, 18, 38, 0.88), rgba(8, 18, 38, 0.68));
    border: 1px solid rgba(130, 213, 255, 0.24);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.footer-logo {
    width: 180px;
    object-fit: contain;
}

.footer-brand-text {
    color: #c3dbff;
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 520px;
    margin: 0;
}

.footer-links h3,
.footer-contact h3,
.footer-social-block h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #b0d4ff;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.footer-link-list li a,
.footer-contact p a,
.footer-legal a {
    color: #9cc8ff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-link-list li a:hover,
.footer-contact p a:hover,
.footer-legal a:hover {
    color: #ffffff;
}

.footer-contact p {
    margin: 0;
    color: #9cc8ff;
    line-height: 1.7;
}

.footer-social-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-socials {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-socials-e {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-socials-e img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.footer-socials-e:hover {
    transform: translateY(-2px);
    border-color: #53c7ff;
    background: rgba(83, 199, 255, 0.18);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    color: #a8cfff;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.36);
}

.footer-legal a {
    color: #9cc8ff;
}

@media (max-width: 980px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-column {
        padding: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* Footer uses spacing and rules to separate content instead of nested cards. */
.footer {
    background: #0d171d;
    padding: 5rem clamp(1rem, 5vw, 5rem) 2rem;
}

.footer-container {
    max-width: 1120px;
}

.footer-top {
    gap: 3rem;
}

.footer-column {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.footer-links h3,
.footer-contact h3,
.footer-social-block h3 {
    color: #b0d4ff;
    font-family: 'Barlow Condensed', Impact, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.footer-link-list li a,
.footer-contact p a,
.footer-legal a,
.footer-contact p {
    color: #9cc8ff;
    font-size: 0.82rem;
}

.footer-bottom p,
.footer-legal {
    font-size: 0.73rem;
}

.footer-socials-e {
    border-radius: 3px;
}
