/* P4PN — compact home footer + global footer polish */

.p4pn-home-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4800;
    pointer-events: none;
    padding: 0 clamp(0.75rem, 2vw, 1.25rem) max(0.35rem, env(safe-area-inset-bottom));
}

.p4pn-home-footer__inner {
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 14, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: clamp(0.62rem, 1.2cqi, 0.72rem);
    color: #94a3b8;
}

.p4pn-home-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 700;
}

.p4pn-home-footer__brand img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.p4pn-home-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.p4pn-home-footer__links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.p4pn-home-footer__links a:hover {
    color: #e8a87c;
}

.p4pn-home-footer__copy {
    font-size: clamp(0.58rem, 1.1cqi, 0.68rem);
    color: rgba(148, 163, 184, 0.85);
    white-space: nowrap;
}

@media (pointer: coarse) {
    .p4pn-home-footer {
        position: relative;
        padding: 1rem;
    }

    .p4pn-home-footer__inner {
        border-radius: 12px;
        flex-direction: column;
        text-align: center;
    }
}

body.p4pn-cover-page .p4p-contact-float {
    display: none !important;
}

.p4p-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #0a0a12;
}
