/* assets/css/footer.css */

.site-footer {
    position: relative;
    margin-top: 0;
    padding: 42px 0 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(5, 14, 32, 0.94) 0%, rgba(2, 8, 22, 0.98) 100%);
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 35%, rgba(47,125,246,0.14), transparent 34%);
    pointer-events: none;
}

.site-footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px minmax(280px, 1fr) 280px;
    gap: 28px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
}

.footer-brand-top {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: fit-content;
}

.footer-logo {
    width: 180px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.footer-brand-title {
    display: none;
}

.footer-tagline {
    max-width: 280px;
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
}

.footer-menu-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-top: 14px;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 30px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.footer-menu a {
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    font-weight: 700;
}

.footer-menu a:hover {
    color: #56a3ff;
}

.footer-social {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding-top: 10px !important;
    text-align: right !important;
}

.footer-social-title {
    color: rgba(255,255,255,0.88) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.footer-social-icons {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 210px !important;
    max-width: 210px !important;
}

.footer-social-link {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.04) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex: 0 0 42px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(86,163,255,0.45) !important;
    background: rgba(47,125,246,0.12) !important;
    box-shadow: 0 12px 26px rgba(0,0,0,0.24);
}

.footer-social-link img,
.site-footer .footer-social-link img,
.site-footer .footer-social-icons img {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    object-fit: contain !important;
    display: block !important;
}

.footer-social-link span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 34px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy,
.footer-city {
    color: rgba(255,255,255,0.62);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

@media (max-width: 820px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-brand-top {
        margin: 0 auto;
    }

    .footer-tagline {
        max-width: 340px;
    }

    .footer-menu-wrap {
        padding-top: 0;
    }

    .footer-menu {
        justify-content: center;
        max-width: 100%;
    }

    .footer-social {
        align-items: center !important;
        text-align: center !important;
        padding-top: 0 !important;
    }

    .footer-social-title {
        text-align: center !important;
    }

    .footer-social-icons {
        justify-content: center !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

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

    .footer-logo {
        width: 140px;
        height: 56px;
    }

    .footer-menu {
        gap: 10px 18px;
    }

    .footer-menu a {
        font-size: 14px;
    }

    .footer-copy,
    .footer-city,
    .footer-tagline {
        font-size: 13px;
    }

    .footer-social-link {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        flex-basis: 40px !important;
    }

    .footer-social-link img,
    .site-footer .footer-social-link img,
    .site-footer .footer-social-icons img {
        width: 21px !important;
        height: 21px !important;
        min-width: 21px !important;
        max-width: 21px !important;
        min-height: 21px !important;
        max-height: 21px !important;
    }
}