/* ==========================================================================
   Public Footer — MakeLab-style multi-column
   Used by standalone pages (home, HIW, RFQ, declare)
   ========================================================================== */

.pfooter {
    background: var(--navy, #0b1a33);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 4.5rem 0 0;
}

.pfooter__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ── Grid ── */
.pfooter__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Brand column */
.pfooter__brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.pfooter__logo {
    display: inline-flex;
    text-decoration: none;
}
.pfooter__logo img {
    height: 30px;
    width: auto;
}
.pfooter__tagline {
    font-family: var(--fb, 'Barlow', sans-serif);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
    margin: 0;
    max-width: 220px;
}

/* Link columns */
.pfooter__col h4 {
    font-family: var(--fm, 'IBM Plex Mono', monospace);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 1.25rem;
}
.pfooter__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.pfooter__col a {
    font-family: var(--fb, 'Barlow', sans-serif);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.15s;
}
.pfooter__col a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Bottom bar ── */
.pfooter__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}

.pfooter__copy {
    font-family: var(--fm, 'IBM Plex Mono', monospace);
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.18);
}

.pfooter__legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.pfooter__legal a {
    font-family: var(--fm, 'IBM Plex Mono', monospace);
    font-size: 0.54rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color 0.15s;
}
.pfooter__legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.pfooter__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.pfooter__social a {
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.15s;
    display: flex;
    align-items: center;
}
.pfooter__social a:hover {
    color: rgba(255, 255, 255, 0.65);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .pfooter__inner {
        padding: 0 1.5rem;
    }
    .pfooter__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }
    .pfooter__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .pfooter {
        padding: 3rem 0 0;
    }
    .pfooter__inner {
        padding: 0 1rem;
    }
    .pfooter__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pfooter__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
