.jh-footer {
    margin-top: 36px;
    background: #070707;
    color: #ffffff;
}

.jh-footer__grid {
    display: grid;
    grid-template-columns: 1fr 0.86fr 0.86fr 1fr;
    column-gap: 64px;
    row-gap: 48px;
    padding: 72px 36px 86px;
}

.jh-footer__brand {
    color: #e0b82d;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.jh-footer__copy {
    max-width: 390px;
    margin-top: 24px;
    color: #d5dce5;
    font-size: 16px;
    line-height: 1.55;
}

.jh-footer__newsletter {
    margin-top: 34px;
}

.jh-footer__newsletter-title {
    margin-bottom: 12px;
    color: #e0b82d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jh-footer__newsletter-field {
    position: relative;
    max-width: 411px;
}

.jh-footer__newsletter-field input {
    display: block;
    width: 100%;
    height: 54px;
    max-width: 100%;
    border: 1px solid rgba(124, 142, 164, 0.35) !important;
    border-radius: 10px;
    background: #111111 !important;
    color: #d5dce5 !important;
    padding: 0 126px 0 22px;
    font-size: 16px;
}

.jh-footer__newsletter-field input::placeholder {
    color: #aab3c0;
    opacity: 1;
}

.jh-footer__newsletter-button {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    width: max-content;
    height: 40px;
    border-radius: 7px;
    background: #e0b82d;
    color: #17283a;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
}

.jh-footer__links-wrap {
    display: contents;
}

.jh-footer__heading {
    margin-bottom: 32px;
    color: #edf2f8;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.jh-footer__links {
    display: grid;
    gap: 12px;
    color: #aab3c0;
    font-size: 16px;
    line-height: 1.25;
}

.jh-footer__link-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jh-footer__bullet {
    color: #607185;
    transition: color 0.2s ease;
}

.jh-footer__link {
    color: #aab3c0;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.jh-footer__link:hover {
    color: #e0b82d;
    text-decoration: underline;
}

.jh-footer__link-item:hover .jh-footer__bullet {
    color: #e0b82d;
}

.jh-footer__connect-copy {
    max-width: 410px;
    color: #aab3c0;
    font-size: 16px;
    line-height: 1.45;
}

.jh-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.jh-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 9999px;
    background: #151515;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 18px rgba(255, 255, 255, 0.24), 0 10px 18px rgba(0, 0, 0, 0.35);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jh-footer__social:hover {
    background: #e0b82d;
    border-color: rgba(255, 255, 255, 0.5);
    color: #17283a;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 22px rgba(255, 255, 255, 0.34), 0 0 18px rgba(224, 184, 45, 0.38);
    transform: translateY(-1px);
}

.jh-footer__social--active {
    background: #e0b82d;
    color: #17283a;
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 22px rgba(255, 255, 255, 0.32), 0 0 18px rgba(224, 184, 45, 0.28);
}

.jh-footer__bottom-line {
    height: 1px;
    background: rgba(124, 142, 164, 0.16);
}

@media (max-width: 1180px) {
    .jh-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jh-footer__links-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 64px;
    }
}

@media (max-width: 767px) {
    .jh-footer__grid,
    .jh-footer__links-wrap {
        grid-template-columns: 1fr;
    }

    .jh-footer__grid {
        padding: 48px 24px;
    }

        .jh-footer__brand {
            font-size: 22px;
        }

        .jh-footer__copy,
        .jh-footer__links,
        .jh-footer__connect-copy {
            font-size: 15px;
        }

    .jh-footer__newsletter-field input {
        height: 56px;
        padding: 0 128px 0 16px;
        font-size: 16px;
    }

    .jh-footer__newsletter-button {
        top: 8px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
}
