/* ==========================================
   FOOTER NEW LOOK AND FEEL
   Aislamiento total: todos los estilos del
   framework IJ replicados aquí con prefijo
   #teco-footer para evitar cualquier conflicto
   con CSS legacy del proyecto tecoloco.
   ========================================== */

/* Reset total del contenedor */
#teco-footer {
    all: initial;
    display: block;
    font-family: "Poppins", sans-serif;
    width: 100%;
    box-sizing: border-box;
}

    #teco-footer * {
        margin: 0;
        padding: 0;
        list-style: none;
        font-family: "Poppins", sans-serif;
    }

    /* ---- Footer Main Container ---- */
    #teco-footer .footer-container {
        background-color: #242a36;
        color: #ffffff;
        font-family: "Poppins", sans-serif;
        width: 100%;
    }

    /* ---- Footer Main Content ---- */
    #teco-footer .footer-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 44px 20px;
        background-color: #242a36;
        position: relative;
    }

    /* ---- Logo ---- */
    #teco-footer .footer-logo {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 32px;
    }

        #teco-footer .footer-logo img {
            height: 30px;
            width: auto;
        }

    /* ---- Footer Links Content ---- */
    #teco-footer .footer-content {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 0;
        width: 85%;
    }

    /* ---- Columns ---- */
    #teco-footer .footer-column {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    #teco-footer .footer-column-first {
        gap: 24px;
    }

    /* ---- Sister Companies — oculto en mobile ---- */
    #teco-footer .footer-sister-companies {
        display: none;
    }

    /* ---- Links list ---- */
    #teco-footer .footer-links-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #teco-footer .footer-link-title {
        font-size: 12px;
        font-weight: 700;
        margin: 0;
        line-height: normal;
        text-transform: uppercase;
        color: #ffffff;
        font-family: "Poppins", sans-serif;
    }

    #teco-footer .footer-links-list a,
    #teco-footer .footer-column a {
        font-size: 12px;
        font-weight: 400;
        color: #ffffff;
        text-decoration: none;
        font-family: "Poppins", sans-serif;
    }

        #teco-footer .footer-links-list a.footer-link-accent {
            color: #A5F08E;
            font-weight: 600;
        }

    #teco-footer .sister-companies-logos {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    #teco-footer .sister-logo-link {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        padding: 0;
    }

.sister-logo-link--caribbean-jobs img {
    width: auto;
    height: 45px;
    border-radius: 12px;
    object-fit: contain;
}
/* ---- Separator (mobile = línea horizontal) ---- */
#teco-footer .footer-vertical-separator {
    display: block;
    width: 158px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* ---- Social Icons (mobile = absolute right) ---- */
#teco-footer .footer-social {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    position: absolute;
    right: 45px;
    top: 125px;
}

#teco-footer .social-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

    #teco-footer .social-icon:hover {
        color: #3eb318;
    }

/* ---- Footer Bottom ---- */
#teco-footer .footer-bottom-bg {
    background-color: #060c14;
    width: 100%;
}

#teco-footer .footer-bottom {
    padding: 0 23px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

#teco-footer .footer-copyright {
    font-size: 12px;
    font-weight: 500;
    color: #3eb318;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

#teco-footer .footer-apps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

#teco-footer .footer-get-app {
    font-size: 12px;
    font-weight: 700;
    color: #3eb318;
    margin: 0;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
}

#teco-footer .footer-get-app-mobile {
    display: block;
}

#teco-footer .footer-get-app-desktop {
    display: none;
}

#teco-footer .app-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

    #teco-footer .app-buttons img,
    #teco-footer .app-buttons a img {
        height: 42px;
        width: 135px;
        object-fit: contain;
    }

/* ==========================================
   DESKTOP (768px y superior)
   ========================================== */
@media (min-width: 768px) {

    #teco-footer .footer-container {
        background-color: #242a36;
    }

    #teco-footer .footer-main {
        max-width: 1290px;
        margin: 0 auto;
        padding: 44px 80px;
        gap: 32px;
        background-color: #242a36;
        flex-direction: column;
        align-items: flex-start;
    }

    #teco-footer .footer-logo {
        justify-content: flex-start;
        width: auto;
        margin-bottom: 0;
    }

    #teco-footer .footer-content {
        display: flex;
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
        justify-content: space-between;
        margin-top: 0;
        width: 100%;
        overflow: visible;
    }

    #teco-footer .footer-links-list {
        gap: 24px;
    }

    #teco-footer .footer-link-title {
        font-size: 13px;
        margin: 0;
    }

    #teco-footer .footer-links-list a,
    #teco-footer .footer-column a {
        font-size: 13px;
        font-weight: 400;
        text-transform: uppercase;
    }

    #teco-footer .footer-column {
        flex: 1 1 0;
        min-width: 0;
    }

    #teco-footer .footer-column-first {
        flex: 1.2 1 0;
    }

    #teco-footer .footer-sister-companies {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 0;
    }

    #teco-footer .sister-companies-logos {
        width: 100%;
    }

    /* Separador vertical en desktop */
    #teco-footer .footer-vertical-separator {
        display: block;
        width: 1px;
        min-height: 300px;
        background-color: #3eb318;
        align-self: stretch;
        margin-right: 5px;
    }

        #teco-footer .footer-vertical-separator + .footer-column {
            flex: 1.4 1 0;
        }

    #teco-footer .footer-social {
        display: flex;
        visibility: visible;
        flex-direction: column;
        gap: 28px;
        position: static;
        flex-shrink: 0;
        width: 36px;
        margin-left: 0;
        align-items: center;
        background-color: transparent;
    }

        #teco-footer .footer-social .social-icon {
            color: #ffffff;
            width: 36px;
            height: 36px;
            font-size: 26px;
            background-color: transparent;
        }

    #teco-footer .footer-bottom-bg {
        background-color: #060c14;
    }

    #teco-footer .footer-bottom {
        max-width: 1290px;
        margin: 0 auto;
        padding: 0 80px;
        height: 70px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 0;
    }

    #teco-footer .footer-copyright {
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
    }

    #teco-footer .footer-apps {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    #teco-footer .footer-get-app {
        font-size: 14px;
    }

    #teco-footer .app-buttons {
        gap: 15px;
    }

        #teco-footer .app-buttons img,
        #teco-footer .app-buttons a img {
            height: 42px;
            width: 135px;
            object-fit: contain;
        }

    #teco-footer .footer-get-app-mobile {
        display: none;
    }

    #teco-footer .footer-get-app-desktop {
        display: block;
    }
}
