/* =======================
   Quick Exim Site Footer
   Hardcoded in footer.php — black background, white text, red accents.
======================= */

.qe-site-footer {
    background: var(--qe-black);
    color: #C9C9C9;
    font-family: var(--qe-font);
    border-top: 3px solid var(--qe-red);
}

.qe-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 32px 24px;
}

.qe-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 36px;
}

.qe-footer-col h3 {
    color: var(--qe-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 16px;
    border-bottom: 2px solid var(--qe-red);
    display: inline-block;
    padding-bottom: 6px;
}

.qe-footer-brand__logo {
    color: var(--qe-white);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}

.qe-footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #B5B5B5;
    max-width: 320px;
    margin: 0;
}

.qe-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qe-footer-links li {
    margin-bottom: 10px;
}

.qe-footer-links a {
    color: #C9C9C9;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.qe-footer-links a:hover {
    color: var(--qe-red);
}

.qe-footer-contact p {
    font-size: 14px;
    margin: 0 0 10px;
    color: #C9C9C9;
}

.qe-footer-contact a {
    color: #C9C9C9;
    text-decoration: none;
}

.qe-footer-contact a:hover {
    color: var(--qe-red);
}

.qe-footer-certs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid #2A2A2A;
    border-bottom: 1px solid #2A2A2A;
    margin-bottom: 20px;
}

.qe-footer-certs img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.6);
    opacity: 0.85;
}

.qe-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: #8A8A8A;
}

.qe-footer-bottom a {
    color: #8A8A8A;
    text-decoration: none;
}

.qe-footer-bottom a:hover {
    color: var(--qe-red);
}

@media (max-width: 900px) {
    .qe-footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .qe-footer-inner {
        padding: 36px 20px 20px;
    }
    .qe-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .qe-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
