/* Janico site footer */
.site-footer {
    padding: 28px 0 18px;
    color: var(--color-ink);
    border: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}

.footer-company {
    align-items: flex-start;
}

.footer-brand {
    display: inline-block;
    margin: 0 0 14px;
    color: inherit;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.1;
    text-decoration: none;
}

.footer-brand img {
    display: block;
    width: auto;
    max-width: 185px;
    max-height: 82px;
    height: auto;
}

.footer-address,
.footer-contact,
.footer-nav,
.footer-nav .menu,
.footer-social {
    font-family: var(--font-body);
}

.footer-address,
.footer-contact {
    font-size: 16px;
    line-height: 1.5;
}

.footer-address p {
    margin: 0;
    font: inherit;
}

.footer-contact {
    margin-top: 10px;
}

.footer-contact a,
.footer-nav a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a {
    font-family: var(--font-heading);
}

.footer-contact p {
    margin: 2px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.footer-nav .footer_title {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.2;
}

/* Keep the footer columns visually clean, without widget separator rules. */
.site-footer .footer-nav,
.site-footer .footer-widget,
.site-footer .footer_title,
.site-footer .copyright {
    border: 0;
}

.site-footer .footer_title::before,
.site-footer .footer_title::after {
    content: none;
    display: none;
}

.footer-nav ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
}
.footer-social a svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    vertical-align: middle;
}

.footer-social a {
    color: inherit;
    font-size: 18px;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-nav a:hover,
.footer-social a:hover {
    color: var(--color-janico-blue);
}

.copyright {
    margin-top: 16px;
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.copyright a {
    color: inherit;
    text-decoration: none;
}

.copyright a:hover {
    color: var(--color-janico-blue);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 36px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 24px 0 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 380px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-company {
        grid-column: auto;
    }
}
