.site-footer {
    padding-top: var(--es-space-11);
    padding-bottom: var(--es-space-6);
    background: var(--es-bg-secondary);
    /* border-top: var(--es-border-thin) solid var(--es-border-subtle); */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--es-space-9);
}

.footer-logo {
    display: inline-flex;
    margin-bottom: var(--es-space-5);
}

.footer-logo svg,
.footer-logo img {
    width: auto;
    height: 36px;
}

.footer-logo span {
    font-size: var(--es-fs-xl);
    font-weight: var(--es-fw-bold);
    text-indent: var(--es-space-1);
    font-family: var(--es-font-heading);
}

.footer-brand__description {
    max-width: 340px;
    margin-bottom: var(--es-space-4);
    color: var(--es-text-secondary);
    font-size: var(--es-fs-sm);
}

.footer-brand__company {
    max-width: 340px;
    margin-bottom: var(--es-space-5);
    color: var(--es-text-muted);
    font-size: var(--es-fs-xs);
}

.footer-brand__company strong {
    color: var(--es-text-secondary);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: var(--es-space-3);
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--es-surface);
    color: var(--es-text-secondary);
    border: var(--es-border-thin) solid var(--es-border-subtle);
    border-radius: 50%;
    transition: color var(--es-transition-fast), border-color var(--es-transition-fast), background-color var(--es-transition-fast), transform var(--es-transition-fast);
}

.footer-socials a:hover {
    color: var(--es-secondary);
    border-color: var(--es-border-primary);
    background: var(--es-surface-hover);
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-column h2 {
    margin-bottom: var(--es-space-5);
    color: var(--es-text);
    font-family: var(--es-font-body);
    font-size: var(--es-fs-sm);
    font-weight: var(--es-fw-semibold);
}

.footer-column ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--es-space-3);
    list-style: none;
}

.footer-column a {
    color: var(--es-text-secondary);
    font-size: var(--es-fs-sm);
    transition: color var(--es-transition-fast);
}

.footer-column a:hover {
    color: var(--es-secondary);
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: var(--es-space-2);
    width: 163px;
    max-width: 100%;
}

.footer-contact-link svg {
    flex: 0 0 auto;
}

.footer-contact-link span {
    min-width: 0;
}

.footer-bottom {
    margin-top: var(--es-space-10);
    padding-top: var(--es-space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--es-space-4);
    border-top: var(--es-border-thin) solid var(--es-border-subtle);
}

.footer-bottom p {
    margin: 0;
    color: var(--es-text-muted);
    font-size: var(--es-fs-xs);
}

.footer-bottom span {
    color: var(--es-text-secondary);
}


@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--es-space-8);
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: var(--es-space-9);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: var(--es-space-6);
        row-gap: var(--es-space-8);
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand__description,
    .footer-brand__company {
        max-width: 100%;
        text-align: center;
    }

    .footer-contact-group {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--es-space-5);
    }

    .footer-column h2 {
        margin-bottom: var(--es-space-4);
        font-size: var(--es-fs-xs);
        text-transform: uppercase;
        letter-spacing: var(--es-tracking-wide);
    }

    .footer-column ul {
        gap: var(--es-space-2);
    }

    .footer-column a {
        font-size: var(--es-fs-xs);
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        margin-top: var(--es-space-8);
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.footer-contact-label { display: block; color: var(--es-text-muted); font-size: var(--es-fs-xs); margin-bottom: 2px; }
.footer-contact-link { width: auto; overflow-wrap: anywhere; }
