.site-footer {
    width: 100%;
    padding: 60px var(--space-tablet) 50px;
    box-sizing: border-box;
    background-color: var(--theme-bg);
    color: var(--theme-text);
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col--right {
    align-items: flex-end;
    text-align: right;
}

/* ================================
   Left column
   ================================ */
.footer-logo {
    display: block;
    height: auto;
    max-width: 320px;
    margin-bottom: 20px;
}

[data-theme="light"] .footer-logo {
    filter: invert(1);
}

.footer-address {
    margin-bottom: 6px;
    color: var(--theme-text-muted);
    font-size: 0.95rem;
    font-weight: 200;
    line-height: 1.4;
    transition: color 0.3s ease;
}

[data-theme="light"] .footer-address {
    color: var(--theme-text);
}

.footer-phone {
    color: var(--theme-text);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

/* ================================
   Right column
   ================================ */
.footer-socials {
    display: flex;
    gap: 22px;
    margin-bottom: 14px;
}

.footer-social {
    color: var(--theme-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social:hover {
    color: var(--theme-text);
}

[data-theme="light"] .footer-social {
    color: #000000;
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

.footer-email {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-email__label {
    color: var(--theme-text-muted);
    font-size: 0.95rem;
    font-weight: 200;
    transition: color 0.3s ease;
}

.footer-email__link {
    color: var(--theme-text-muted);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.footer-email__link:hover {
    color: var(--theme-text);
}

[data-theme="light"] .footer-email__label {
    color: var(--theme-text);
}

[data-theme="light"] .footer-email__link {
    color: var(--theme-text);
}
/* ================================
   Tablet
   ================================ */
@media (max-width: 991.98px) {
    .site-footer {
        padding: 50px 32px 40px;
    }
    .footer-inner {
        gap: 30px;
    }
    .footer-logo {
        max-width: 280px;
        margin-bottom: 16px;
    }
}

/* ================================
   Mobile
   ================================ */
@media (max-width: 767.98px) {
    .site-footer {
        padding: 40px var(--space-mobile);
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        text-align: center;
    }
    .footer-col {
        align-items: center;
    }
    .footer-col--left {
        gap: 0;
    }
    .footer-logo {
        max-width: 260px;
        margin-bottom: 14px;
    }
    .footer-address {
        margin-bottom: 8px;
    }
    .footer-phone {
        font-size: 1rem;
    }
    .footer-col--right {
        align-items: center;
        text-align: center;
    }
    .footer-socials {
        gap: 28px;
        margin-bottom: 12px;
    }
    .footer-email {
        align-items: center;
        gap: 6px;
    }
}
