.apro-site-footer {
    margin-top: auto;
    padding: 48px 0;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.apro-site-footer__container {
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
}

.apro-site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.apro-site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apro-site-footer__legal-column {
    padding-top: 32px;
}

.apro-site-footer__brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    text-decoration: none;
}

.apro-site-footer__brand .logo-mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #00bfff 0%, #471aff 100%);
    box-shadow: 0 6px 18px rgba(71, 26, 255, 0.35);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.apro-site-footer__brand-copy,
.apro-site-footer__brand-name,
.apro-site-footer__brand-caption {
    display: block;
}

.apro-site-footer__brand-name {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.apro-site-footer__brand-name span {
    color: #471aff;
}

.apro-site-footer__brand-caption {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
}

.apro-site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.apro-site-footer__links a,
.apro-site-footer__company a {
    color: #475569;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.apro-site-footer__links a:hover,
.apro-site-footer__company a:hover {
    color: #0f172a;
}

.apro-site-footer__about {
    display: flex;
    grid-column: span 2;
    flex-direction: column;
    gap: 16px;
}

.apro-site-footer__about h4 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}

.apro-site-footer__about > p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.625;
}

.apro-site-footer__company {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 12px;
}

.apro-site-footer__company p {
    margin: 0;
}

body:has(> .apro-site-footer) {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

body:has(> .apro-site-footer) > main {
    flex: 1 0 auto;
}

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 90;
    display: flex;
    width: min(calc(100% - 36px), 900px);
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 60px rgba(11, 16, 32, 0.18);
    color: #334155;
    font-size: 13px;
    transition: opacity 0.2s, transform 0.2s;
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner a {
    color: #471aff;
    text-decoration: underline;
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translateY(12px);
}

.cookie-banner__button {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: #0b1020;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 767px) {
    .apro-site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .apro-site-footer__legal-column {
        padding-top: 0;
    }

    .apro-site-footer__about {
        grid-column: auto;
    }

    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    body:has(.floating-cta) .apro-site-footer {
        padding-bottom: 100px;
    }
}

@media print {
    .apro-site-footer,
    .cookie-banner {
        display: none !important;
    }
}
