:root {
    --footer-primary: #0795b5;
    --footer-primary-dark: #067f9b;
    --footer-text: #253b46;
    --footer-text-soft: #64748b;
    --footer-text-muted: #94a3b8;
    --footer-border: #dce6ea;
    --footer-background: #f5fafb;
    --footer-white: #ffffff;
}
.site-footer {
    width: 100%;
    margin-top: auto;
    background:
        linear-gradient(
            180deg,
            #f8fcfd 0%,
            #eef7f9 100%
        );
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
}
.site-footer .container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}
.footer-inner {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.7fr)
        repeat(3, minmax(150px, 1fr));
    gap: 45px;
    padding-top: 52px;
    padding-bottom: 48px;
}
.footer-brand {
    min-width: 0;
}
.footer-logo {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--footer-text);
    font-size: 29px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    text-decoration: none;
    transition: opacity 0.25s ease;
}
.footer-logo span {
    color: var(--footer-primary);
}
.footer-logo:hover {
    opacity: 0.82;
}
.footer-brand p {
    max-width: 330px;
    margin: 0;
    color: var(--footer-text-soft);
    font-size: 14px;
    line-height: 1.7;
}
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.footer-column h3 {
    margin: 2px 0 17px;
    color: var(--footer-text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
}
.footer-column a,
.footer-column span {
    display: block;
    margin-bottom: 10px;
    color: var(--footer-text-soft);
    font-size: 13px;
    line-height: 1.5;
}
.footer-column a {
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}
.footer-column a:hover {
    color: var(--footer-primary);
    transform: translateX(2px);
}
.footer-column span {
    cursor: default;
}
.footer-column:nth-child(3) span {
    position: relative;
    padding-left: 15px;
}
.footer-column:nth-child(3) span::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--footer-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}
.footer-column:nth-child(4) span {
    position: relative;
    padding-left: 15px;
}
.footer-column:nth-child(4) span::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--footer-primary);
    border-bottom: 1px solid var(--footer-primary);
    transform:
        translateY(-50%)
        rotate(-45deg);
}
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    background: rgba(255, 255, 255, 0.45);
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
}
.footer-bottom p {
    margin: 0;
    color: var(--footer-text-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
.footer-logo:focus-visible,
.footer-column a:focus-visible {
    outline: 3px solid rgba(7, 149, 181, 0.20);
    outline-offset: 4px;
    border-radius: 4px;
}
@media (max-width: 1000px) {
    .site-footer .container {
        width: min(100% - 32px, 900px);
    }
    .footer-inner {
        grid-template-columns:
            1.5fr
            repeat(3, 1fr);
        gap: 28px;
    }
    .footer-brand p {
        max-width: 280px;
    }
}
@media (max-width: 780px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 35px;
        padding-top: 40px;
        padding-bottom: 38px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-brand p {
        max-width: 500px;
    }
    .footer-logo {
        font-size: 27px;
    }
}
@media (max-width: 560px) {
    .site-footer .container {
        width: min(100% - 24px, 520px);
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 34px;
        padding-bottom: 32px;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-column {
        padding-top: 2px;
    }
    .footer-column h3 {
        margin-bottom: 12px;
    }
    .footer-column a,
    .footer-column span {
        margin-bottom: 8px;
    }
    .footer-bottom .container {
        min-height: 54px;
    }
    .footer-bottom p {
        padding: 0 10px;
        font-size: 11px;
    }
}
@media (max-width: 380px) {
    .site-footer .container {
        width: calc(100% - 20px);
    }
    .footer-inner {
        gap: 23px;
        padding-top: 30px;
        padding-bottom: 28px;
    }
    .footer-logo {
        font-size: 25px;
    }
    .footer-brand p {
        font-size: 13px;
    }
    .footer-column h3 {
        font-size: 13px;
    }
    .footer-column a,
    .footer-column span {
        font-size: 12px;
    }
    .footer-bottom p {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer-logo,
    .footer-column a {
        transition: none;
    }
    .footer-column a:hover {
        transform: none;
    }
}