.site-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 64px 0 28px;
    color: #475569;
    position: relative;
    z-index: 10;
}

.site-footer,
.footer-description,
.footer-contact-list a,
.footer-bottom-links a,
.footer-newsletter-desc,
.footer-newsletter-form input {
    font-family: 'Outfit', sans-serif !important;
}

.footer-logo,
.footer-title,
.footer-newsletter-title,
.footer-badges .badge-troy,
.btn-subscribe {
    font-family: 'Space Grotesk', sans-serif !important;
}

.footer-top {
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.footer-logo:hover {
    color: var(--theme-primary, #ff4500);
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--theme-primary, #ff4500);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(var(--theme-primary-rgb, 255, 69, 0), 0.2);
}

.footer-description {
    margin: 16px 0 20px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-list a,
.footer-contact-list span {
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list a:hover {
    color: var(--theme-primary, #ff4500);
}

.footer-contact-list i {
    width: 16px;
    color: #94a3b8;
    text-align: center;
}

.footer-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    display: inline-block;
    position: relative;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--theme-primary, #ff4500);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.5px;
    bottom: -1px;
    left: 0;
    background-color: var(--theme-primary, #ff4500);
    transform-origin: bottom right;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.footer-newsletter-desc {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
    position: relative;
    max-width: 320px;
}

.footer-newsletter-form .form-control {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.88rem;
    padding-left: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) inset;
    transition: all 0.2s ease;
}

.footer-newsletter-form .form-control:focus {
    border-color: var(--theme-primary, #ff4500);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb, 255, 69, 0), 0.15);
    outline: none;
}

.footer-newsletter-form .btn {
    min-height: 44px;
    width: 44px;
    border-radius: 10px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-primary, #ff4500) !important;
    border-color: var(--theme-primary, #ff4500) !important;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.footer-newsletter-form .btn:hover {
    background-color: var(--theme-primary-hover, #e03d00) !important;
    border-color: var(--theme-primary-hover, #e03d00) !important;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;
    background-color: var(--theme-primary, #ff4500);
    border-color: var(--theme-primary, #ff4500);
    transform: scale(1.06);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 32px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #64748b;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.footer-bottom-links a {
    text-decoration: none;
    font-size: 0.82rem;
    color: #64748b;
    transition: color .2s ease;
}

.footer-bottom-links a:hover {
    color: var(--theme-primary, #ff4500);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 1.5rem;
}

.footer-badges .badge-troy {
    font-weight: 700;
    font-size: 0.68rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 6px;
    letter-spacing: 0.05em;
    line-height: 1;
    background: #ffffff;
}

.footer-badges .badge-ssl {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: #64748b;
    background: #ffffff;
}

.footer-badges .badge-ssl i {
    color: #10b981;
}

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

    .footer-brand {
        max-width: 100%;
        margin-bottom: 12px;
    }

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

@media (max-width: 767.98px) {
    .footer-title {
        margin-top: 14px;
    }

    .footer-bottom p {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .footer-badges {
        justify-content: center;
    }
}