/* ==================================================
   BASIC JUDO - FOOTER
================================================== */

/* 01 - Footer Base
-------------------------------------------------- */

.bj-footer {
    position: relative;
    overflow: hidden;
    padding: 100px 0 34px;
    color: #fff;
    background: #050505;
}

.bj-footer::before {
    content: "柔道";
    position: absolute;
    right: -20px;
    bottom: -40px;
    color: rgba(255, 255, 255, 0.035);
    font-family: var(--bj-font-title, serif);
    font-size: clamp(140px, 20vw, 340px);
    line-height: 1;
    pointer-events: none;
}

/* 02 - Footer Top
-------------------------------------------------- */

.bj-footer__top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bj-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.bj-footer__logo img {
    width: auto;
    max-height: 58px;
}

.bj-footer__logo span {
    color: #fff;
    font-family: var(--bj-font-title, serif);
    font-size: 38px;
    font-weight: 800;
}

.bj-footer__brand p {
    max-width: 520px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 17px;
    line-height: 1.85;
}

/* 03 - Newsletter
-------------------------------------------------- */

.bj-footer__newsletter {
    padding: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
}

.bj-footer__newsletter span {
    color: #c1121f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bj-footer__newsletter h3 {
    margin: 16px 0 26px;
    font-family: var(--bj-font-title, serif);
    font-size: 38px;
    line-height: 1;
}

.bj-footer__newsletter form {
    display: flex;
    gap: 12px;
}

.bj-footer__newsletter input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: 999px;
    outline: 0;
}

.bj-footer__newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.bj-footer__newsletter button {
    flex: 0 0 auto;
    height: 54px;
    padding: 0 22px;
    color: #fff;
    background: #c1121f;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

/* 04 - Footer Middle
-------------------------------------------------- */

.bj-footer__middle {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 42px;
    padding: 62px 0;
}

.bj-footer__middle h4 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bj-footer__middle a,
.bj-footer__middle p {
    display: block;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    line-height: 1.7;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.bj-footer__middle a:hover {
    transform: translateX(6px);
    color: #fff;
}

/* 05 - Footer Bottom
-------------------------------------------------- */

.bj-footer__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bj-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 14px;
}

.bj-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.bj-footer__socials a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.bj-footer__socials a:hover {
    color: #c1121f;
}

/* 06 - Responsive
-------------------------------------------------- */

@media (max-width: 980px) {
    .bj-footer__top,
    .bj-footer__middle {
        grid-template-columns: 1fr 1fr;
    }

    .bj-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .bj-footer {
        padding-top: 72px;
    }

    .bj-footer__top,
    .bj-footer__middle {
        grid-template-columns: 1fr;
    }

    .bj-footer__newsletter form {
        flex-direction: column;
    }

    .bj-footer__newsletter button {
        width: 100%;
    }
}