.site-footer {
    margin-top: 88px;
    padding: 48px 0;
    background: #242028;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 56px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 166px;
    height: 66px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.footer-wordmark {
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.footer-slogan {
    max-width: 680px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.85;
}

.footer-risk-note {
    max-width: 720px;
    margin: 0 0 22px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.045);
    font-size: 12px;
    line-height: 1.75;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.55;
}

.footer-bottom a,
.footer-quick-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-police {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.police-icon {
    width: 16px;
    height: 18px;
    flex: 0 0 auto;
    object-fit: contain;
}

.footer-right {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.footer-right h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.footer-right p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.9;
}

.footer-right .company-name {
    margin-bottom: 7px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.footer-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
}

.footer-quick-links span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
}

.footer-quick-links a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    white-space: nowrap;
}

.footer-bottom a:hover,
.footer-quick-links a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 840px) {
    .site-footer {
        margin-top: 64px;
        padding: 38px 0 calc(86px + env(safe-area-inset-bottom));
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .footer-logo {
        width: 150px;
        height: 58px;
    }
}
