
/* =====================================================
   SHIFTIFY - PREMIUM RESPONSIVE FOOTER
   Client Approved: White + Navy + Orange
===================================================== */

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    --footer-navy: #082F5B;
    --footer-orange: #FF6B1A;
    --footer-text: #52677F;
    --footer-muted: #64748B;
    --footer-border: #E2E8F0;

    width: 100%;
    background: #FFFFFF !important;
    color: var(--footer-text);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    padding: 38px 0 0;
    border-top: 3px solid #FF6B1A;
    overflow: hidden;
}

.site-footer .container {
    width: 100%;
    max-width: 1240px;
    padding: 0 24px;
    margin: 0 auto;
    background: #FFFFFF !important;
}

/* =====================================================
   MAIN FOOTER GRID - DESKTOP
===================================================== */

.site-footer .footer-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        repeat(3, minmax(0, 1fr))
        minmax(0, 1.15fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    padding-bottom: 30px;
}

.site-footer .footer-brand,
.site-footer .footer-column {
    min-width: 0;
    max-width: 100%;
}

/* =====================================================
   BRAND LOGO
===================================================== */

.site-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 12px;
    text-decoration: none;
}

.site-footer .footer-logo img {
    display: block;
    width: auto;
    max-width: 165px;
    max-height: 60px;
    height: auto;
    object-fit: contain;
}

.site-footer .footer-description {
    max-width: 270px;
    margin: 0 0 16px;
    color: #64748B !important;
    font-size: 12.5px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* =====================================================
   SOCIAL LINKS
===================================================== */

.site-footer .footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.site-footer .footer-social {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #DCE4ED;
    color: #082F5B !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.site-footer .footer-social:hover {
    background: #FF6B1A;
    border-color: #FF6B1A;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* =====================================================
   FOOTER HEADINGS
===================================================== */

.site-footer .footer-column h3,
.site-footer .footer-column h4 {
    color: #082F5B !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 13px;
}

/* =====================================================
   FOOTER LINKS
===================================================== */

.site-footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-column li {
    list-style: none;
    padding: 0;
    margin: 0 0 9px;
}

.site-footer .footer-column ul li a {
    display: inline-block;
    color: #52677F !important;
    font-size: 12.5px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.site-footer .footer-column ul li a:hover {
    color: #FF6B1A !important;
}

/* =====================================================
   CONTACT DETAILS
===================================================== */

.site-footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin-bottom: 11px;
    color: #52677F !important;
    font-size: 12.5px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.site-footer .footer-contact-item > span {
    flex: 0 0 18px;
    color: #FF6B1A !important;
    font-size: 15px;
    line-height: 1.5;
}

.site-footer .footer-contact-item:hover {
    color: #FF6B1A !important;
}

/* =====================================================
   FOOTER BOTTOM / LEGAL LINKS
===================================================== */

.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    width: 100%;
    padding: 17px 0;
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.site-footer .footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
    min-width: 0;
}

.site-footer .footer-legal a {
    color: #52677F !important;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.site-footer .footer-legal a:hover {
    color: #FF6B1A !important;
}

.site-footer .footer-copyright {
    color: #64748B !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   SMALL DESKTOP / LAPTOP
===================================================== */

@media (max-width: 1100px) {

    .site-footer .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 24px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer .footer-description {
        max-width: 420px;
    }
}

/* =====================================================
   TABLET - 768px TO 991px
===================================================== */

@media (max-width: 991px) {

    .site-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 22px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer .footer-contact {
        grid-column: auto;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* =====================================================
   MOBILE - UP TO 767px
===================================================== */

@media (max-width: 767px) {

    .site-footer {
        padding-top: 28px;
        background: #FFFFFF !important;
    }

    .site-footer .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-footer .footer-main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 18px;
        align-items: start;
        padding-bottom: 24px;
    }

    /* Logo takes full row */
    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    /* Support and Get in Touch stay side by side */
    .site-footer .footer-contact {
        grid-column: auto;
    }

    .site-footer .footer-logo img {
        max-width: 150px;
        max-height: 55px;
    }

    .site-footer .footer-description {
        max-width: 100%;
        font-size: 12px;
    }

    .site-footer .footer-column {
        width: 100%;
    }

    .site-footer .footer-column h3,
    .site-footer .footer-column h4 {
        font-size: 13px;
        margin-bottom: 11px;
    }

    .site-footer .footer-column li {
        margin-bottom: 8px;
    }

    .site-footer .footer-column ul li a {
        font-size: 11.5px;
    }

    .site-footer .footer-contact-item {
        font-size: 11.5px;
        gap: 6px;
    }

    .site-footer .footer-contact-item > span {
        flex-basis: 16px;
    }

    .site-footer .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px 0;
        background: #FFFFFF !important;
    }

    .site-footer .footer-legal {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .site-footer .footer-legal a {
        font-size: 10.5px;
    }

    .site-footer .footer-copyright {
        font-size: 10.5px;
    }
}

/* =====================================================
   SMALL MOBILE - UP TO 480px
===================================================== */

@media (max-width: 480px) {

    .site-footer {
        padding-top: 24px;
    }

    .site-footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    /* Keep exact 2 x 2 column layout */
    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer .footer-contact {
        grid-column: auto;
    }

    .site-footer .footer-column h3,
    .site-footer .footer-column h4 {
        font-size: 12.5px;
        margin-bottom: 9px;
    }

    .site-footer .footer-column ul li a {
        font-size: 11px;
    }

    .site-footer .footer-contact-item {
        font-size: 11px;
    }

    .site-footer .footer-social {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .site-footer .footer-legal {
        gap: 8px 10px;
    }

    .site-footer .footer-legal a {
        font-size: 10px;
    }

    .site-footer .footer-copyright {
        font-size: 10px;
    }
}

/* =====================================================
   EXTRA SMALL MOBILE - UP TO 360px
===================================================== */

@media (max-width: 360px) {

    .site-footer .container {
        padding-left: 13px;
        padding-right: 13px;
    }

    .site-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    /* Keep Support and Contact side by side */
    .site-footer .footer-contact {
        grid-column: auto;
    }

    .site-footer .footer-column h3,
    .site-footer .footer-column h4 {
        font-size: 12px;
    }

    .site-footer .footer-column ul li a,
    .site-footer .footer-contact-item {
        font-size: 10.5px;
    }

    .site-footer .footer-description {
        max-width: 100%;
    }
}

/* =====================================================
   WHITE BACKGROUND ENFORCEMENT
===================================================== */

.site-footer,
.site-footer .container,
.site-footer .footer-main,
.site-footer .footer-brand,
.site-footer .footer-column,
.site-footer .footer-bottom {
    background-color: #FFFFFF !important;
}
.footer-top-divider {
    width: 100%;
    height: 1px;
    background: #FF6B1A;
}

/* =========================================================
   SHIFTIFY - CLIENT FOOTER POLICY STRUCTURE
========================================================= */

.site-footer {
    padding-bottom: 0 !important;
    overflow: visible;
}

/* POLICY GRID */

.site-footer .footer-policy-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    padding: 24px 0 22px;
    border-bottom: 1px solid #E2E8F0;
}

.site-footer .footer-policy-column {
    min-width: 0;
}

.site-footer .footer-policy-column h3 {
    color: #082F5B !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 13px;
}

.site-footer .footer-policy-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-policy-column li {
    list-style: none;
    padding: 0;
    margin: 0 0 9px;
}

.site-footer .footer-policy-column li a {
    display: inline-block;
    color: #52677F !important;
    font-size: 11.5px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.site-footer .footer-policy-column li a:hover {
    color: #FF6B1A !important;
}

/* COMPANY DETAILS */

.site-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px 0 0;
    text-align: center;
    border-top: 0;
}

.site-footer .footer-copyright,
.site-footer .footer-registered-office {
    margin: 0;
    color: #64748B !important;
    font-size: 11px;
    line-height: 1.7;
}

/* TABLET */

@media (max-width: 991px) {
    .site-footer .footer-policy-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .site-footer .footer-policy-column:last-child {
        grid-column: 1 / -1;
    }
}

/* MOBILE */

/* =========================================
   SHIFTIFY FOOTER - MOBILE RESPONSIVE FIX
========================================= */

@media (max-width: 767px) {

    .site-footer {
        width: 100%;
        padding: 25px 0 0 !important;
        margin: 0 !important;
        overflow: hidden;
    }

    .site-footer .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        margin: 0 auto;
    }

    /* Main footer layout */
    .footer-main {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 22px 14px !important;
        width: 100%;
        margin: 0 !important;
    }

    /* Brand section full width */
    .footer-brand {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
    }

    .footer-brand img {
        max-width: 145px;
        height: auto;
        object-fit: contain;
    }

    .footer-brand p,
    .footer-description {
        font-size: 12px;
        line-height: 1.6;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    /* Footer link columns */
    .footer-main > div:not(.footer-brand) {
        min-width: 0;
        width: 100%;
    }

    .footer-main h4,
    .footer-main h5 {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .footer-main ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .footer-main li {
        margin-bottom: 7px;
        line-height: 1.4;
    }

    .footer-main a {
        font-size: 11px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* Footer bottom */
    .footer-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 8px;
        width: 100%;
        margin-top: 20px !important;
        padding: 12px 0 !important;
        text-align: left;
    }

    .footer-bottom p,
    .footer-bottom span,
    .footer-bottom a {
        font-size: 10px;
        line-height: 1.5;
        margin: 0;
    }

    .footer-bottom > * {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

}

/* Very small phones */
@media (max-width: 380px) {

    .site-footer .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .footer-main {
        gap: 18px 10px !important;
    }

    .footer-main h4,
    .footer-main h5 {
        font-size: 11px;
    }

    .footer-main a {
        font-size: 10px;
    }
}
