.site-footer {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.28) 0%, rgba(148, 163, 184, 0.14) 44%, rgba(15, 23, 42, 0.22) 100%),
    radial-gradient(560px 180px at 15% 0%, rgba(148, 46, 135, 0.18), transparent 70%),
    radial-gradient(520px 180px at 88% 0%, rgba(82, 39, 120, 0.16), transparent 72%);
}

.site-footer > .mx-auto.max-w-7xl {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer-glass {
    position: relative;
    z-index: 1;
    border-radius: 1.45rem 1.45rem 0 0;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: linear-gradient(150deg, rgba(15, 23, 42, 0.84), rgba(51, 26, 76, 0.82)),
    radial-gradient(520px 260px at 12% 0%, rgba(148, 46, 135, 0.24), transparent 76%);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.18), 0 -26px 52px -36px rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(13px) saturate(1.18);
    overflow: hidden;
}

.footer-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=2400&q=70") center/cover no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    radial-gradient(340px 180px at 88% 100%, rgba(148, 46, 135, 0.18), transparent 76%);
    opacity: 0.2;
    filter: blur(3.5px) saturate(0.68) contrast(0.96);
    transform: scale(1.03);
}

.footer-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.26) 45%, rgba(15, 23, 42, 0.5)),
    radial-gradient(520px 200px at 16% 12%, rgba(148, 46, 135, 0.18), transparent 72%);
}

.footer-top,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    gap: 1.6rem;
    width: min(100% - 2.6rem, 1280px);
    margin-inline: auto;
    padding: 1.45rem 0;
}

.footer-brand-logo {
    width: min(220px, 60vw);
    height: auto;
    display: block;
}

.footer-brand-text {
    margin-top: 0.9rem;
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.94rem;
    line-height: 1.55;
}

.footer-social {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-social a {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-1px);
    background: rgba(148, 46, 135, 0.28);
    border-color: rgba(255, 255, 255, 0.56);
}

.footer-title {
    margin: 0;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(196, 181, 253, 0.96);
    font-weight: 700;
}

.footer-list {
    margin-top: 0.78rem;
    display: grid;
    gap: 0.5rem;
}

.footer-list a {
    color: rgba(241, 245, 249, 0.9);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.footer-list a::before {
    content: "";
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(148, 46, 135, 0.78);
    box-shadow: 0 0 0 3px rgba(148, 46, 135, 0.2);
}

.footer-list a:hover {
    color: #ffffff;
    transform: translateX(1px);
}

.footer-contact {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.55rem;
}

.footer-contact a {
    color: rgba(226, 232, 240, 0.92);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 0.4rem;
    width: min(100% - 2.6rem, 1280px);
    margin-inline: auto;
    padding: 0.95rem 0 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: rgba(203, 213, 225, 0.86);
    font-size: 0.82rem;
}

.footer-mini-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-mini-links a {
    color: rgba(226, 232, 240, 0.92);
}

.footer-mini-links a:hover {
    color: #ffffff;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 1.25rem;
        padding: 1.55rem 0;
    }

    .footer-bottom {
        padding: 1rem 0 1.15rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 0;
    }

    .footer-glass {
        border-radius: 1rem 1rem 0 0;
    }

    .footer-top,
    .footer-bottom {
        width: min(100% - 1.5rem, 1280px);
    }
}
