.site-footer {
    background: linear-gradient(135deg, #07121f 0%, #0d1b2a 38%, #101f31 100%);
    color: rgba(255, 255, 255, 0.76);
    padding-top: 3rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 auto auto -5%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(27, 140, 255, 0.18), transparent 68%);
    pointer-events: none;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer__brand-block {
    flex: 1;
    max-width: 380px;
}

.footer__brand-block p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.footer__brand-block .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.footer__brand-block .brand:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.08);
}

.footer__links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer__links h4 {
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 1rem;
}

.footer__links a {
    display: block;
    margin-bottom: 0.55rem;
    color: rgba(255, 255, 255, 0.72);
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.footer__contact address {
    max-width: 250px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.6;
}

.footer__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #66b6ff, #dfeeff);
    transition: width 0.25s ease;
}

.footer__links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer__links a:hover::after {
    width: 100%;
}

.footer__bottom {
     display: flex;
     flex-wrap: nowrap;
     justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0 1.2rem;
    font-size: 0.9rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer__developer-link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(102, 182, 255, 0.7);
    text-underline-offset: 3px;
}

.footer__developer-link:hover,
.footer__developer-link:focus-visible {
    color: #8bc9ff;
}

@media (max-width: 900px) {
    .footer__inner {
        flex-direction: column;
    }

    .footer__links {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 2.4rem;
    }

    .footer__brand-block {
        max-width: 100%;
    }

    .footer__links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer__bottom {
        text-align: left;
    }
}
