/* Global footer — scoped to .jj-site-footer */

.jj-site-footer {
    --jj-footer-gold: #c9a24a;
    --jj-footer-gold-hover: #d4ae58;
    --jj-footer-text: #f2f2f2;
    --jj-footer-muted: #b5b8be;
    --jj-footer-border: rgba(255, 255, 255, 0.1);
    background: #0c0d0f;
    color: var(--jj-footer-text);
}

.jj-site-footer a {
    color: inherit;
    text-decoration: none;
}

.jj-footer-shell {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
}

.jj-footer-grid {
    display: grid;
    grid-template-columns: 22fr 16fr 20fr 18fr 28fr;
    gap: 36px 28px;
    padding: 56px 0 48px;
    align-items: start;
}

.jj-footer-brand__name {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.jj-footer-brand__copy {
    margin: 0;
    max-width: 34ch;
    color: var(--jj-footer-muted);
    font-size: 15px;
    line-height: 1.7;
}

.jj-footer-heading {
    margin: 0 0 18px;
    color: var(--jj-footer-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.jj-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jj-footer-list li + li {
    margin-top: 12px;
}

.jj-footer-list a {
    display: inline-block;
    color: var(--jj-footer-muted);
    font-size: 15px;
    line-height: 1.45;
    transition: color 160ms ease;
}

.jj-footer-list a:hover,
.jj-footer-list a:focus-visible {
    color: #ffffff;
}

.jj-footer-contact__block {
    margin: 0 0 18px;
}

.jj-footer-contact__block:last-child {
    margin-bottom: 0;
}

.jj-footer-contact__label {
    margin: 0 0 6px;
    color: var(--jj-footer-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.jj-footer-contact__value {
    display: inline-block;
    max-width: 100%;
    color: var(--jj-footer-muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    transition: color 160ms ease;
}

.jj-footer-contact__value--primary {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.jj-footer-contact__block--bookings {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--jj-footer-border);
}

.jj-footer-contact__dual {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--jj-footer-border);
}

.jj-footer-contact__block--channel {
    margin: 0;
    min-width: 0;
    flex: 0 1 auto;
}

.jj-footer-contact__block--channel:first-child {
    padding-right: 28px;
    margin-right: 28px;
    border-right: 1px solid var(--jj-footer-border);
}

.jj-footer-contact__channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    transition: color 160ms ease;
}

.jj-footer-contact__channel span {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.jj-footer-contact__icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.jj-footer-contact__value:hover,
.jj-footer-contact__value:focus-visible,
.jj-footer-contact__channel:hover,
.jj-footer-contact__channel:focus-visible {
    color: var(--jj-footer-gold-hover);
}

.jj-site-footer a:focus-visible {
    outline: 2px solid var(--jj-footer-gold);
    outline-offset: 3px;
}

.jj-footer-bottom {
    border-top: 1px solid var(--jj-footer-border);
    background: #090a0c;
}

.jj-footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1320px, calc(100% - 64px));
    min-height: 72px;
    margin: 0 auto;
}

.jj-footer-bottom__copy {
    margin: 0;
    color: #8f9399;
    font-size: 13px;
    line-height: 1.5;
}

.jj-footer-bottom__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.jj-footer-bottom__legal a {
    color: #8f9399;
    font-size: 13px;
    line-height: 1.5;
    transition: color 160ms ease;
}

.jj-footer-bottom__legal a:hover,
.jj-footer-bottom__legal a:focus-visible {
    color: #ffffff;
}

@media (min-width: 1101px) {
    .jj-footer-contact__value {
        white-space: nowrap;
    }

    .jj-footer-contact__channel {
        white-space: nowrap;
    }
}

@media (max-width: 1100px) {
    .jj-footer-shell,
    .jj-footer-bottom__inner {
        width: min(1320px, calc(100% - 48px));
    }

    .jj-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 22px;
        padding: 52px 0 44px;
    }

    .jj-footer-brand {
        grid-column: 1 / -1;
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .jj-footer-shell,
    .jj-footer-bottom__inner {
        width: min(1320px, calc(100% - 32px));
    }

    .jj-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 22px;
        padding: 48px 0 40px;
    }

    .jj-footer-brand {
        grid-column: 1 / -1;
    }

    .jj-footer-contact {
        grid-column: 1 / -1;
        order: 2;
    }

    .jj-footer-nav:nth-of-type(1) {
        order: 3;
    }

    .jj-footer-nav:nth-of-type(2) {
        order: 4;
    }

    .jj-footer-nav:nth-of-type(3) {
        order: 5;
    }

    .jj-footer-brand {
        order: 1;
    }

    .jj-footer-contact__dual {
        flex-direction: column;
        gap: 18px;
    }

    .jj-footer-contact__block--channel:first-child {
        padding-right: 0;
        margin-right: 0;
        border-right: 0;
    }

    .jj-footer-contact__channel {
        min-height: 44px;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .jj-footer-shell,
    .jj-footer-bottom__inner {
        width: min(1320px, calc(100% - 28px));
    }

    .jj-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 44px 0 36px;
    }

    .jj-footer-contact__value {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .jj-footer-brand,
    .jj-footer-contact,
    .jj-footer-nav {
        grid-column: auto;
    }

    .jj-footer-brand__copy {
        max-width: none;
        font-size: 15px;
    }

    .jj-footer-contact__value--primary {
        font-size: 17px;
    }

    .jj-footer-list a,
    .jj-footer-contact__value {
        font-size: 15px;
    }

    .jj-footer-bottom__inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 0 28px;
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jj-footer-list a,
    .jj-footer-contact__value,
    .jj-footer-contact__channel,
    .jj-footer-bottom__legal a {
        transition: none;
    }
}
