/* =====================================================
   FOOTER
===================================================== */

.footer-block {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    max-width: 1200px;
    margin: 24px auto 40px auto;
    border-radius: 12px;
    border: 1px solid rgba(171, 170, 170, 0.10);
    box-shadow: 2px 2px 4px rgba(179, 179, 179, 0.3);
}

/* Parallax background */
.footer-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/articles/index/ia-footer-cleaning-equipment-dt.webp');
    background-size: auto;
    background-position: bottom center;
    background-attachment: fixed;
    opacity: 1;
    z-index: 0;
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 60px 28px 0;
    max-width: 1820px;
    margin: 0 auto;
}

/* Top row — nav cols left, social icons right */
.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

/* Three column nav */
.footer-nav-cols {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col h4 {
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3c3c3c;
    margin: 0 0 4px;
}

.footer-nav-col a {
    font-size: 0.9rem;
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-col a:hover {
    color: #4C9BB3;
}

/* Social icons */
.footer-social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 8px;
    border: 1.5px solid #4C9BB3;
    color: #4C9BB3;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}

.footer-social-icons a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #4C9BB3;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.footer-social-icons a:hover {
    color: #fff;
}

.footer-social-icons a:hover::after {
    transform: scale(1);
}

.footer-social-icons svg,
.footer-social-icons img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

/* Divider */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(106, 106, 106, 0.25);
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    font-size: 0.88rem;
    color: #555;
}

.footer-credit {
    margin: 0;
}

.footer-credit a {
    color: #4C9BB3;
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin: 0;
}

@media (max-width: 599px) {
    .footer-block {
        margin: 16px auto 0 auto;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .footer-nav-col a {
        font-size: clamp(0.9rem, 2.8vw, 1.2rem);
        color: #444;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        padding: 20px 0;
        font-size: clamp(0.88rem, 2.2vw, 1rem);
        color: #555;
    }
}