#site-footer.jc-footer {
    --footer-rule: #e7d9d6;
    --footer-accent: #ae262c;
    padding: clamp(2.5rem, 5vw, 4.25rem) 0 1.5rem;
    border-top: 1px solid var(--footer-rule);
    background: linear-gradient(155deg, #f8eeec, #faf8f7 58%);
    color: #302928;
    font-size: .9375rem;
}

#site-footer.jc-footer > .container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.jc-footer__intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.jc-footer__brand {
    display: block;
    width: 230px;
    max-width: 100%;
}

.jc-footer__brand img {
    display: block;
    width: 100%;
    height: auto;
}

#site-footer.jc-footer p {
    margin: 0;
    line-height: 1.6;
}

.jc-footer__nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem clamp(1rem, 3vw, 2.5rem);
}

#site-footer.jc-footer h2 {
    margin: 0 0 .75rem;
    color: #63504d;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.4;
}

.jc-footer__nav ul { list-style: none; padding: 0; margin: 0; }
.jc-footer__nav li + li { margin-top: .65rem; }

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

#site-footer.jc-footer a:hover { color: var(--footer-accent); text-decoration: underline; }
#site-footer.jc-footer a:focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 3px; }

.jc-footer__nav a {
    display: inline-flex;
    align-items: flex-start;
    gap: .55rem;
    padding-block: .2rem;
}

.jc-footer__nav a::before {
    content: "";
    flex: 0 0 .25rem;
    height: .25rem;
    border-radius: 50%;
    background: var(--footer-accent);
    align-self: start;
    margin-top: .62em;
}

.jc-footer__locations,
.jc-footer__bottom {
    border-top: 1px solid var(--footer-rule);
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
    padding-top: clamp(1.25rem, 3vw, 1.75rem);
}

.jc-footer__locations {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 1.5rem 2rem;
}

.jc-footer__locations a { display: inline-block; padding-block: .15rem; }

#site-footer.jc-footer .jc-footer__advisor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    margin-top: .85rem;
    padding: .65rem 1.15rem;
    border-radius: 999px;
    background: var(--footer-accent);
    color: #fff;
    font-weight: 650;
    text-align: center;
}

#site-footer.jc-footer .jc-footer__advisor:hover {
    background: #8b1e23;
    text-decoration: none;
}

.jc-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    font-size: .8125rem;
}

.jc-footer__legal { margin-inline-end: auto; }
.jc-footer__social { display: flex; flex-wrap: wrap; gap: .65rem; }

.jc-footer__social a,
.jc-footer__top {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: .25rem;
}

.jc-footer__social a {
    justify-content: center;
    width: 44px;
    border-radius: 50%;
    background: #f0e5e2;
}

#site-footer .jc-footer__social a:hover { background: #f3deda; text-decoration: none; }

@media (max-width: 1099.98px) {
    .jc-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 759.98px) {
    .jc-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jc-footer__locations { grid-template-columns: 1fr; }
    .jc-footer__legal { flex-basis: 100%; }
}

@media (max-width: 479.98px) {
    .jc-footer__nav { grid-template-columns: 1fr; }
}
