.site-footer {
    position: relative;
    width: 100%;
    padding: 50px 10% 0;
    color: rgba(244, 248, 251, 0.85);
    background: var(--footer-bg, #030a10);
    overflow: hidden;
    isolation: isolate;
}

.footer-holo-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.footer-holo-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: radial-gradient(
        circle 280px at var(--holo-x, 50%) var(--holo-y, 50%),
        rgba(90, 159, 212, 0.12) 0%,
        rgba(201, 166, 107, 0.08) 28%,
        rgba(13, 122, 111, 0.05) 52%,
        transparent 70%
    );
}

.site-footer.is-active .footer-holo-glow {
    opacity: 1;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(201, 166, 107, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse 60% 40% at 20% 0%, rgba(26, 79, 140, 0.12), transparent 60%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(201, 166, 107, 0.02) 3px,
            rgba(201, 166, 107, 0.02) 4px
        );
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        var(--brand-brick) 20%,
        var(--brand-warm-light) 50%,
        var(--brand-light) 80%,
        transparent
    );
    opacity: 0.65;
}

.footer-content {
    position: relative;
    z-index: 3;
}

.footer-container {
    padding-bottom: 30px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 5%;
}

.footer-info-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--brand-brick-light);
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.site-footer.is-active .footer-info-title {
    color: #e8d4a8;
}

.footer-info-title i {
    margin-left: 6px;
    color: var(--brand-warm-light);
}

.site-footer.is-active .footer-info-title i {
    color: var(--brand-warm-light);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info--under-about {
    margin-top: 18px;
}

.footer-info-card p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(203, 213, 225, 0.75);
}

.footer-info-card a {
    transition: 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.footer-info-card a:hover {
    color: #fff;
    opacity: 0.85;
}

.footer-info-about p {
    text-align: justify;
    line-height: 1.85;
    font-size: 14px;
    color: rgba(203, 213, 225, 0.72);
}

.footer-info-about a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s, opacity 0.2s;
}

.footer-info-about a:hover {
    color: #fff;
    opacity: 0.85;
}

.footer-map {
    display: flex;
    flex-direction: column;
}

.footer-map-address {
    margin-top: 14px;
}

.footer-map-address .footer-info-title {
    margin-bottom: 6px;
}

.map-location {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    border: 1px solid rgba(201, 166, 107, 0.18);
    filter: saturate(0.4) contrast(1.05) brightness(0.78);
    transition: border-color 0.35s ease, filter 0.35s ease;
    box-shadow: var(--shadow-glow, none);
}

.site-footer.is-active .map-location {
    border-color: rgba(201, 166, 107, 0.35);
    filter: saturate(0.55) contrast(1.08) brightness(0.85);
}

.site-footer hr {
    margin: 30px 0;
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 166, 107, 0.35) 25%,
        rgba(90, 159, 212, 0.25) 50%,
        rgba(13, 122, 111, 0.3) 75%,
        transparent
    );
}

.copy-right {
    text-align: center;
    padding-bottom: 25px;
    font-size: 13px;
    color: rgba(148, 163, 184, 0.7);
}

.copy-right a {
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    color: #fff;
}

.copy-right a:hover {
    color: #fff;
    opacity: 0.85;
}

.footer-shortcuts .footer-shortcuts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    background: rgba(26, 79, 140, 0.12);
    border: 0.5px solid rgba(201, 166, 107, 0.18);
    color: rgba(226, 232, 240, 0.9);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-shortcut:hover {
    background: rgba(26, 79, 140, 0.22);
    border-color: rgba(201, 166, 107, 0.4);
    transform: translateY(-2px);
}

.footer-shortcut i {
    color: var(--brand-brick-light);
}

html.light-theme .site-footer {
    color: var(--text-muted);
}

html.light-theme .footer-info-title {
    color: var(--brand);
}

html.light-theme .footer-info-card p,
html.light-theme .footer-info-about p {
    color: var(--text-muted);
}

html.light-theme .footer-info-card a,
html.light-theme .footer-info-about a {
    color: var(--text-main);
}

html.light-theme .footer-info-card a:hover,
html.light-theme .footer-info-about a:hover {
    color: var(--text-main);
    opacity: 0.85;
}

html.light-theme .footer-shortcut {
    background: rgba(26, 79, 140, 0.06);
    border-color: rgba(26, 79, 140, 0.12);
    color: var(--text-main);
}

html.light-theme .copy-right {
    color: var(--text-muted);
}

html.light-theme .copy-right a {
    color: var(--text-main);
}

html.light-theme .copy-right a:hover {
    color: var(--text-main);
    opacity: 0.85;
}

@media (max-width: 992px) {
    .site-footer {
        padding-right: 25px;
        padding-left: 25px;
    }
}

@media (max-width: 750px) {
    .footer-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 24px;
    }

    .site-footer {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .map-location {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-holo-glow {
        display: none;
    }

    .footer-shortcut:hover {
        transform: none;
    }
}
