/* =========================================================
   JUDO KANO FOOTER
   Optimized / Clean / RTL / IranYekan
========================================================= */

.jk-footer {
    --footer-bg: #07070a;
    --footer-text: #d4d7dd;
    --footer-muted: #9aa3b2;
    --footer-soft: #7f8896;
    --footer-white: #ffffff;
    --footer-accent: #7a0019;
    --footer-accent-soft: #ff9aa9;
    --footer-border: rgba(255, 255, 255, 0.06);
    --footer-icon-bg: rgba(255, 255, 255, 0.05);

    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);

    direction: rtl;
    text-align: right;
    font-family: 'iranyekan', sans-serif;
}

.jk-footer__bg {
    position: absolute;
    inset: 0 0 auto 0;
    height: 220px;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0%, rgba(122, 0, 25, 0.25), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(161, 0, 34, 0.20), transparent 40%);
}

.jk-footer__container {
    position: relative;
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.jk-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.jk-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--footer-white);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.jk-footer__logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.jk-footer__desc {
    margin: 0 0 20px;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 2;
}

.jk-footer__motto {
    margin: 0;
    color: var(--footer-accent-soft);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
}

.jk-footer h4 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: var(--footer-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.jk-footer h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: var(--footer-accent);
}

.jk-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jk-footer ul li {
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.9;
}

.jk-footer a {
    color: inherit;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease,
        background-color 0.25s ease;
}

.jk-footer ul a:hover,
.jk-footer ul a:focus-visible {
    color: var(--footer-white);
    transform: translateX(-4px);
}

.soon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.soon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--footer-accent);
    color: var(--footer-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.jk-footer__icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jk-footer__icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--footer-icon-bg);
    color: var(--footer-text);
}

.jk-footer__icons a:hover,
.jk-footer__icons a:focus-visible {
    background: var(--footer-accent);
    color: var(--footer-white);
    transform: translateY(-3px);
}

.jk-footer__icons svg,
.jk-footer__icons i {
    width: 20px;
    height: 20px;
    font-size: 18px;
    flex-shrink: 0;
}

.jk-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid var(--footer-border);
    font-size: 13px;
}

.jk-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.jk-footer__legal a {
    color: var(--footer-muted);
}

.jk-footer__legal a:hover,
.jk-footer__legal a:focus-visible {
    color: var(--footer-white);
}

.jk-footer__copyright {
    color: var(--footer-soft);
    line-height: 1.9;
}

.jk-footer__copyright a {
    color: var(--footer-accent-soft);
    font-weight: 600;
}

.jk-footer__copyright a:hover,
.jk-footer__copyright a:focus-visible {
    color: var(--footer-white);
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
    .jk-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .jk-footer {
        padding-top: 60px;
        text-align: center;
    }

    .jk-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .jk-footer h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .jk-footer__logo,
    .jk-footer__icons,
    .jk-footer__legal,
    .jk-footer__bottom {
        justify-content: center;
    }

    .jk-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .jk-footer ul a:hover,
    .jk-footer ul a:focus-visible {
        transform: none;
    }
}
