.site-footer {
    padding: 42px clamp(20px, 5vw, 72px);
    color: var(--ink);
    background: #fff;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-inner {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.footer-brand-block {
    display: grid;
    gap: 5px;
    text-align: center;
}

.site-footer strong {
    color: var(--ink);
    font-size: 16px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
}

.footer-legal-links a,
.footer-legal-links button {
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
    color: var(--blue);
}

.footer-legal-notes {
    display: grid;
    gap: 10px;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.cookie-consent {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1300;
    width: min(640px, calc(100vw - 32px));
}

.cookie-consent-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 20, 27, 0.22);
}

.cookie-consent-copy h2 {
    margin-bottom: 8px;
    font-size: clamp(22px, 2.6vw, 30px);
}

.cookie-consent-copy p {
    margin-bottom: 8px;
    color: var(--muted);
}

.cookie-consent-copy a {
    color: var(--blue);
    font-weight: 800;
}

.cookie-options {
    display: grid;
    gap: 10px;
}

.cookie-options label {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    background: #f8fbff;
    border: 1px solid #e3ebf5;
    border-radius: 8px;
}

.cookie-options input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.cookie-options strong,
.cookie-options small {
    display: block;
}

.cookie-options small {
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.35;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 34px 20px;
    }

    .footer-legal-links {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .cookie-consent-card {
        padding: 18px;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}
