.site-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    border-top: 0;
    padding: clamp(32px, 4.5vw, 46px) 0 22px;
    background: linear-gradient(180deg,
        var(--bg-primary) 0%,
        #173b72 24%,
        #143361 52%,
        #122b54 100%);
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 100% at 8% 0%, rgba(0, 185, 255, 0.18) 0%, rgba(0, 185, 255, 0) 44%),
        radial-gradient(120% 100% at 92% 0%, rgba(75, 143, 255, 0.14) 0%, rgba(75, 143, 255, 0) 38%);
    pointer-events: none;
    z-index: -2;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 100% 34px, 34px 100%;
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
}

.site-footer-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 var(--panel-inline-padding, clamp(20px, 5vw, 96px));
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 24px;
}

.site-footer-col h3 {
    color: #ffffff;
    font-size: clamp(1.06rem, 1.08vw, 1.18rem);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.site-footer-col h3 i {
    color: var(--footer-accent, #00b9ff);
}

.site-footer-col p,
.site-footer-col a {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.95rem, 0.95vw, 1rem);
    line-height: 1.52;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.site-footer-col a:hover {
    color: #7bd7ff;
}

.site-footer-social {
    display: flex;
    gap: 11px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.site-footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(0, 185, 255, 0.2);
    border: 1px solid rgba(116, 212, 255, 0.38);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-footer-social a:hover {
    background: #00b9ff;
    border-color: #a7ecff;
    transform: translateY(-2px);
}

.site-footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.site-footer-bottom a {
    color: #a5e5ff;
    text-decoration: none;
}

.site-footer-bottom a:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .site-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 26px 0 16px;
        margin-top: 24px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer-col p,
    .site-footer-col a,
    .site-footer-bottom {
        font-size: 0.92rem;
    }
}
