.site-footer {
    background: linear-gradient(105deg, var(--color-primary) 0%, #17705f 100%);
    color: #cfe3e1;
}

.site-footer .container {
    padding: 48px 24px 28px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.site-footer__brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-footer__brand-title {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
}

.site-footer__lead {
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
    color: #cfe3e1;
}

.site-footer__label {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.site-footer__label--big {
    font-family: var(--font-serif);
    font-size: 17px;
    margin-bottom: 16px;
}

.site-footer__social {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.site-footer__social img {
    height: 26px;
    width: auto;
}

.site-footer__social a:hover {
    opacity: .75;
}

.site-footer__contacts {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: 14px;
}

.site-footer__contacts a {
    display: flex;
    gap: 10px;
    color: #cfe3e1;
}

.site-footer__contacts a:hover {
    color: var(--color-accent-gold);
}

.site-footer__contacts svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.site-footer__hours {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
}

.site-footer__hours li {
    display: flex;
    justify-content: space-between;
    max-width: 250px;
}

.site-footer__hours li span:last-child {
    color: #fff;
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    font-size: 14px;
}

.site-footer__links a {
    color: #cfe3e1;
}

.site-footer__links a:hover {
    color: var(--color-accent-gold);
}

/* Banner strip of partner portals: one row, scrolls sideways when it does not fit */
.site-footer__partners {
    display: flex;
    gap: 10px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.site-footer__partners::-webkit-scrollbar {
    display: none;
}

.site-footer__partner {
    flex: 0 0 auto;
    width: max(130px, calc((100% - 70px) / 8));
    aspect-ratio: 444 / 170;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, .92);
    scroll-snap-align: start;
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-footer__partner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.site-footer__partner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

/* Partner without a banner image: its name on a light plate */
.site-footer__partner-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: var(--color-primary);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    font-size: 13px;
    color: #cfe3e1;
    flex-wrap: wrap;
    gap: 8px;
}

.site-footer__bottom a {
    color: #cfe3e1;
}

.site-footer__bottom a:hover {
    color: var(--color-accent-gold);
}

@media (max-width: 960px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* A label that follows a list starts a new block */
.site-footer__contacts + .site-footer__label,
.site-footer__links + .site-footer__label,
.site-footer__lead + .site-footer__label {
    margin-top: 24px;
}
