/* ==========================================================================
   Footer - VSGscheibe (light theme)
   ========================================================================== */

.ts-footer {
    background: #f8f9fb;
    color: #5b6b7a;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e5e8ec;
}

.ts-footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e8ec;
}

.ts-footer-brand {
    max-width: 380px;
}

.ts-footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.ts-footer-logo:hover {
    opacity: 0.85;
}

.ts-footer-logo img,
.ts-footer-logo .custom-logo {
    width: auto !important;
    height: auto !important;
    max-height: 55px !important;
    max-width: 280px !important;
    object-fit: contain !important;
    display: block !important;
}

.ts-footer-logo-text {
    font-family: var(--ts-font-display, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f1d2e;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.ts-footer-logo-text span {
    color: #0d6e5c;
    font-weight: 700;
}

.ts-footer-description {
    color: #5b6b7a;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.ts-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ts-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #5b6b7a;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ts-footer-contact-item:hover {
    color: #0d6e5c;
}

.ts-footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.ts-footer-column {
    min-width: 0;
}

.ts-footer-heading {
    font-family: var(--ts-font-body, 'Inter', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f1d2e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1.25rem;
}

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

.ts-footer-links li {
    margin-bottom: 0.625rem;
}

.ts-footer-links li:last-child {
    margin-bottom: 0;
}

.ts-footer-links a {
    color: #5b6b7a;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.ts-footer-links a:hover {
    color: #0d6e5c;
    transform: translateX(3px);
}

.ts-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.ts-footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ts-footer-copyright {
    font-size: 0.875rem;
    color: #8b97a3;
    margin: 0;
}

.ts-footer-partner {
    font-size: 0.875rem;
    color: #5b6b7a;
    font-weight: 500;
    margin: 0;
}

.ts-footer-partner a {
    color: #0d6e5c;
    text-decoration: none;
}

.ts-footer-partner a:hover {
    text-decoration: underline;
}

.ts-footer-social {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.ts-social-link {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #e5e8ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b6b7a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ts-social-link:hover {
    background: #0d6e5c;
    border-color: #0d6e5c;
    color: #ffffff;
    transform: translateY(-2px);
}

.ts-social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive */

@media (max-width: 1024px) {
    .ts-footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    .ts-footer-brand {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .ts-footer {
        padding: 3rem 0 1.5rem;
    }
    .ts-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .ts-footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    .ts-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .ts-footer-social {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .ts-footer {
        padding: 2.5rem 0 1.5rem;
    }
    .ts-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    .ts-footer-logo img,
    .ts-footer-logo .custom-logo {
        max-height: 45px !important;
    }
    .ts-footer-heading {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
    .ts-footer-links a {
        font-size: 0.875rem;
    }
    .ts-footer-description {
        font-size: 0.875rem;
    }
    .ts-social-link {
        width: 38px;
        height: 38px;
    }
    .ts-social-link svg {
        width: 18px;
        height: 18px;
    }
}
