.site-footer {
    --footer-accent: #5ba8d8;
    background: #1a2430;
    color: rgba(255, 255, 255, 0.88);
    padding: clamp(2.75rem, 5vw, 4rem) 0 0;
    flex-shrink: 0;
}

.site-footer-container {
    width: min(92%, var(--site-max-width, 1400px));
    max-width: var(--site-max-width, 1400px);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.site-footer-heading {
    margin: 0 0 1.15rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

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

.site-footer-links li + li {
    margin-top: 0.72rem;
}

.site-footer-links a,
.site-footer-legal a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-links a:hover,
.site-footer-legal a:hover,
.site-footer-top:hover {
    color: var(--footer-accent, #5ba8d8);
}

.site-footer-contact {
    padding-left: 0.5rem;
}

.site-footer-address {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    line-height: 1.7;
    max-width: 14rem;
}

.site-footer-message {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--footer-accent, #5ba8d8);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-message:hover {
    color: #ffffff;
}

.site-footer-hours {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    line-height: 1.5;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.site-footer-brand {
    color: var(--footer-accent, #5ba8d8);
    font-weight: 700;
}

.site-footer-top {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.site-footer-top i {
    color: var(--footer-accent, #5ba8d8);
    font-size: 0.9rem;
}

.site-footer-legal {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

@media (max-width: 1199.98px) {
    .site-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer-contact {
        grid-column: span 3;
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-contact {
        grid-column: span 2;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-top {
        order: -1;
        align-self: center;
    }
}

@media (max-width: 575.98px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-contact {
        grid-column: auto;
    }

    .site-footer-legal {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }

    .site-footer-bottom {
        padding-bottom: 1.5rem;
    }
}
