
/* =========================================================
   JF Portable Cabins - Footer
   Add this section to index.css
   ========================================================= */

.site-footer {
    background: #061a34;
    color: #fff;
    margin-top: 0;
}

.site-footer .container {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
}

.footer-main {
    padding: 80px 0 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1.35fr;
    gap: 60px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 245px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.footer-about {
    max-width: 390px;
    margin: 0 0 28px;
    color: #9fb0c7;
    font-size: 15px;
    line-height: 1.85;
}

.footer-certification {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.footer-cert-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    color: #ff5728;
    border-radius: 50%;
}

.footer-certification strong {
    display: block;
    font-size: 14px;
}

.footer-certification small {
    display: block;
    margin-top: 4px;
    color: #8498b2;
    font-size: 11px;
}

.footer-col h3 {
    margin: 4px 0 24px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    color: #9fb0c7;
    text-decoration: none;
    font-size: 14px;
    transition: color .25s ease, padding-left .25s ease;
}

.footer-links a:hover {
    color: #ff5728;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 21px;
}

.contact-icon {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ff5728;
    font-size: 13px;
}

.footer-contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 13px;
}

.footer-contact-item p,
.footer-contact-item a {
    margin: 0;
    color: #9fb0c7;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-width: 165px;
    padding: 14px 18px;
    background: #ff5728;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background .25s ease, transform .25s ease;
}

.footer-cta:hover {
    background: #e9471a;
    color: #fff;
    transform: translateY(-2px);
}

.footer-cta span {
    font-size: 18px;
}

.footer-location-strip {
    border-top: 1px solid rgba(255,255,255,.09);
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer-location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer-location {
    min-height: 105px;
    padding: 25px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.09);
}

.footer-location:first-child {
    border-left: 1px solid rgba(255,255,255,.09);
}

.footer-location > i {
    color: #ff5728;
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-location span {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.footer-location small {
    margin-top: 4px;
    color: #8195ae;
    font-size: 11px;
}

.footer-bottom {
    background: #041329;
}

.footer-bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #7186a1;
    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-bottom-links a {
    color: #879ab2;
    text-decoration: none;
    font-size: 12px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-credit {
    text-align: right;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,.22);
    transition: transform .25s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-4px);
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 40px;
    }

    .footer-contact {
        grid-column: span 3;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 30px;
    }

    .footer-contact h3,
    .footer-contact .footer-cta {
        grid-column: span 2;
    }

    .footer-location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .site-footer .container {
        width: min(100% - 32px, 1380px);
    }

    .footer-main {
        padding: 55px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-contact {
        grid-column: auto;
        display: block;
    }

    .footer-contact h3,
    .footer-contact .footer-cta {
        grid-column: auto;
    }

    .footer-location-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-location {
        padding: 20px 16px;
    }

    .footer-location:nth-child(2) {
        border-right: 0;
    }

    .footer-location:nth-child(3),
    .footer-location:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,.09);
    }

    .footer-location:nth-child(4) {
        border-right: 0;
    }

    .footer-bottom-inner {
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-credit {
        text-align: left;
    }

    .floating-whatsapp {
        width: 48px;
        height: 48px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .footer-location-grid {
        grid-template-columns: 1fr;
    }

    .footer-location,
    .footer-location:nth-child(2),
    .footer-location:nth-child(3),
    .footer-location:nth-child(4) {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid rgba(255,255,255,.09);
    }

    .footer-location:first-child {
        border-top: 0;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 10px 18px;
    }
}