.footer,
.footer * {
    box-sizing: border-box;
}

.footer {
    width: 100%;
    margin: 0;
    padding: 3.5rem 0 0;
    background:
        radial-gradient(circle at 12% 100%, rgba(79, 121, 255, 0.16), transparent 22rem),
        radial-gradient(circle at 88% 100%, rgba(255, 139, 61, 0.10), transparent 18rem),
        #070d20;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #f5f7ff;
    font-family: inherit;
}

.footer > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.footer-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 72px) 3rem;
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(260px, 1fr) minmax(180px, 0.65fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
    text-align: left;
}

.footer-section {
    min-width: 0;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    margin-bottom: 0.85rem;
    color: #f7f9ff;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.footer-logo strong {
    color: #ffad67;
}

.footer-section p {
    color: rgba(245, 247, 255, 0.78);
}

.footer-slogan {
    margin-top: 0.35rem;
    color: #ffb66f !important;
    font-weight: 650;
}

.footer-section h3 {
    margin: 0.15rem 0 1.15rem;
    color: #ffad67;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0 0 0.75rem;
    line-height: 1.55;
}

.contact-info i {
    width: 18px;
    margin-top: 0.25rem;
    color: #7394ff;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 0.65rem;
}

.social-link {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-decoration: none;
    transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.social-link:hover,
.social-link:focus-visible {
    background: #ff8b3d;
    color: #071026;
    transform: translateY(-4px);
    outline: none;
}

.footer-bottom {
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1.15rem clamp(24px, 5vw, 72px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 7, 20, 0.34);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(245, 247, 255, 0.72);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
        text-align: left;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer {
        padding-top: 2.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 0 20px 2rem;
    }

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

    .footer-logo {
        font-size: 1.12rem;
    }

    .footer-section h3 {
        margin-bottom: 0.85rem;
    }

    .contact-info p {
        max-width: 340px;
        margin-inline: auto;
        justify-content: flex-start;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        min-height: 62px;
        padding: 1rem 20px;
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    .footer-content {
        padding-inline: 16px;
    }

    .contact-info p {
        display: block;
    }

    .contact-info i {
        display: block;
        margin: 0 auto 0.35rem;
    }
}
