.site-footer {
    --footer-bg: #eee6d9;
    --footer-bg-soft: #fffaf2;
    --footer-bg-muted: #e4dacb;
    --footer-text: #2b2620;
    --footer-muted: #72665b;
    --footer-border: rgba(66, 54, 43, 0.14);
    --footer-accent: #5b6f57;
    --footer-accent-warm: #8a5f3d;
    --footer-shadow: 0 18px 46px rgba(54, 43, 31, 0.08);
    margin-top: clamp(24px, 4vw, 40px);
    padding-top: clamp(24px, 3.5vw, 42px) !important;
    padding-bottom: clamp(28px, 4vw, 42px) !important;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(238, 230, 217, 0.98)),
        var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
}

[data-bs-theme="dark"] .site-footer,
body.dark-mode .site-footer {
    --footer-bg: #201c18;
    --footer-bg-soft: #29231d;
    --footer-bg-muted: #332a22;
    --footer-text: #f7f3ec;
    --footer-muted: #c8bbad;
    --footer-border: rgba(255, 253, 248, 0.13);
    --footer-accent: #d8b58d;
    --footer-accent-warm: #d8b58d;
    --footer-shadow: none;
    background:
        linear-gradient(180deg, rgba(36, 31, 26, 0.98), rgba(28, 24, 20, 0.99)),
        var(--footer-bg);
}

.site-footer a {
    color: var(--footer-text);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--footer-accent);
}

.site-footer .brand-text-gothic {
    font-family: "Marcellus", Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
    color: var(--footer-text) !important;
    -webkit-text-fill-color: var(--footer-text) !important;
}

.site-footer p,
.site-footer .opacity-75 {
    color: var(--footer-muted) !important;
}

.site-footer .contact-card,
.site-footer .map-card {
    border: 1px solid var(--footer-border) !important;
    border-radius: 8px !important;
    background: var(--footer-bg-soft) !important;
    color: var(--footer-text) !important;
    box-shadow: var(--footer-shadow) !important;
}

.site-footer .contact-card .card-body,
.site-footer .map-card .card-body {
    padding: 22px !important;
}

.site-footer h5 {
    color: var(--footer-text);
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer h5 i {
    color: var(--footer-accent) !important;
}

.footer-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--footer-border);
    border-radius: 50%;
    background: var(--footer-bg-muted);
}

.footer-icon-box i {
    color: var(--footer-accent) !important;
}

.transition-link {
    transition: color 0.2s ease, transform 0.2s ease;
}

.transition-link:hover,
.transition-link:focus-visible {
    transform: translateX(3px);
}

[dir="rtl"] .transition-link:hover,
[dir="rtl"] .transition-link:focus-visible {
    transform: translateX(-3px);
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--footer-border) !important;
    background: var(--footer-bg-muted) !important;
    color: var(--footer-text) !important;
}

.social-icon-btn:hover,
.social-icon-btn:focus-visible {
    background: var(--footer-accent) !important;
    color: var(--footer-bg-soft) !important;
}

.map-container {
    overflow: hidden;
    border: 1px solid var(--footer-border) !important;
    border-radius: 8px !important;
    filter: grayscale(0.16) contrast(0.98) saturate(0.92);
}

.copyright-section {
    border-top: 1px solid var(--footer-border);
    color: var(--footer-muted);
}

.copyright-section img {
    border-radius: 4px;
}

[data-bs-theme="dark"] .social-icon-btn:hover,
[data-bs-theme="dark"] .social-icon-btn:focus-visible,
body.dark-mode .social-icon-btn:hover,
body.dark-mode .social-icon-btn:focus-visible {
    color: #201c18 !important;
}

@media (max-width: 575.98px) {
    .site-footer .site-frame {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* UI/UX Improvements for Footer Brand Icon & Title */
.footer-brand-title {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.footer-logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--footer-bg-soft);
    border: 1px solid var(--footer-border);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.footer-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.footer-brand-title:hover .footer-logo-wrapper {
    transform: translateY(-2px) scale(1.08) rotate(-2deg);
    border-color: var(--footer-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
