/* ═══════════════════════════════════════════════════════════════════════════
   PropertyRoute Footer + Cookie Banner
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hide default GeneratePress footer */
.site-info { display: none !important; }

/* Extend footer color to bottom of viewport (no white gap below footer) */
html { background: #0a1628; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.prf-footer {
    background: #0a1628;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 20px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
}
.prf-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: .82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.prf-footer-sep {
    color: #334155;
}
.prf-footer a {
    color: #18b652;
    text-decoration: none;
    transition: color .15s ease;
}
.prf-footer a:hover {
    color: #4ade80;
    text-decoration: underline;
}

/* ── Cookie Consent Banner ────────────────────────────────────────────────── */
.prf-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -4px 24px rgba(0,0,0,.35);
    padding: 0;
    animation: prf-cookie-in .4s ease both;
}

@keyframes prf-cookie-in {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.prf-cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.prf-cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.prf-cookie-text p {
    margin: 0;
    font-size: .85rem;
    color: #94a3b8;
    line-height: 1.55;
}

.prf-cookie-text a {
    color: #18b652;
    text-decoration: none;
    font-weight: 500;
}
.prf-cookie-text a:hover {
    text-decoration: underline;
    color: #4ade80;
}

.prf-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.prf-cookie-btn {
    padding: 9px 22px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all .15s ease;
    border: none;
    white-space: nowrap;
}

.prf-cookie-btn--accept {
    background: #18b652;
    color: #fff;
}
.prf-cookie-btn--accept:hover {
    background: #14a047;
    box-shadow: 0 2px 12px rgba(24,182,82,.3);
}

.prf-cookie-btn--reject {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #334155;
}
.prf-cookie-btn--reject:hover {
    background: rgba(255,255,255,.05);
    color: #e2e8f0;
    border-color: #475569;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .prf-footer {
        padding: 24px 16px;
    }
    .prf-footer-inner {
        font-size: .8rem;
        gap: 4px;
    }
    .prf-cookie-inner {
        flex-direction: column;
        padding: 16px 18px;
        gap: 14px;
        text-align: center;
    }
    .prf-cookie-text {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .prf-cookie-actions {
        width: 100%;
    }
    .prf-cookie-btn {
        flex: 1;
        padding: 11px 16px;
    }
}
